@progress/kendo-angular-editor 11.0.0-develop.112 → 11.0.0-develop.113
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/config/command-icons.d.ts +4 -0
- package/dialogs/colorpicker-dialog.component.d.ts +2 -0
- package/editor.module.d.ts +4 -3
- package/esm2020/config/command-icons.mjs +45 -0
- package/esm2020/dialogs/colorpicker-dialog.component.mjs +3 -0
- package/esm2020/editor.module.mjs +4 -0
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +2 -1
- package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +20 -11
- package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +2 -1
- package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +8 -4
- package/esm2020/tools/fontsize/editor-fontsize.component.mjs +7 -4
- package/esm2020/tools/format/editor-format.component.mjs +7 -4
- package/esm2020/tools/shared/editor-command-base.mjs +20 -13
- package/esm2020/tools/tables/editor-insert-table-button.component.mjs +10 -5
- package/esm2020/tools/tables/popup-table-grid.component.mjs +4 -2
- package/esm2020/tools/tools.service.mjs +5 -4
- package/fesm2015/progress-kendo-angular-editor.mjs +119 -41
- package/fesm2020/progress-kendo-angular-editor.mjs +119 -41
- package/package.json +13 -12
- package/schematics/ngAdd/index.js +3 -1
- package/tools/colorpicker/editor-colorpicker.component.d.ts +7 -5
- package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -0
- package/tools/fontsize/editor-fontsize.component.d.ts +2 -0
- package/tools/format/editor-format.component.d.ts +2 -0
- package/tools/tables/editor-insert-table-button.component.d.ts +2 -0
- package/tools/tables/popup-table-grid.component.d.ts +2 -0
- package/tools/tools.service.d.ts +3 -0
|
@@ -28,6 +28,9 @@ import * as i3$1 from '@angular/common';
|
|
|
28
28
|
import { CommonModule } from '@angular/common';
|
|
29
29
|
import * as i1$2 from '@progress/kendo-angular-dropdowns';
|
|
30
30
|
import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
31
|
+
import { applyFormatIcon, alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, dropletIcon, rightDoubleQuotesIcon, boldIcon, clearCssIcon, linkIcon, foregroundColorIcon, indentIcon, fileAddIcon, fileImageIcon, listOrderedIcon, listUnorderedIcon, italicIcon, outdentIcon, printIcon, redoIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, underlineIcon, undoIcon, unlinkIcon, codeSnippetIcon, tableAddIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, tableRowDeleteIcon, tableColumnDeleteIcon, cellsMergeIcon, cellSplitHorizontallyIcon, tableDeleteIcon, tableWizardIcon, fontSizeIcon, fontFamilyIcon } from '@progress/kendo-svg-icons';
|
|
32
|
+
import * as i6$1 from '@progress/kendo-angular-icons';
|
|
33
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
31
34
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
32
35
|
|
|
33
36
|
/**
|
|
@@ -37,7 +40,7 @@ const packageMetadata = {
|
|
|
37
40
|
name: '@progress/kendo-angular-editor',
|
|
38
41
|
productName: 'Kendo UI for Angular',
|
|
39
42
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
43
|
+
publishDate: 1673621121,
|
|
41
44
|
version: '',
|
|
42
45
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
46
|
};
|
|
@@ -1421,15 +1424,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1421
1424
|
* @hidden
|
|
1422
1425
|
*/
|
|
1423
1426
|
class EditorToolsService {
|
|
1424
|
-
constructor() {
|
|
1427
|
+
constructor(zone) {
|
|
1428
|
+
this.zone = zone;
|
|
1425
1429
|
this.needsCheck = new Subject();
|
|
1426
1430
|
}
|
|
1427
1431
|
}
|
|
1428
|
-
EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1432
|
+
EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1429
1433
|
EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService });
|
|
1430
1434
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, decorators: [{
|
|
1431
1435
|
type: Injectable
|
|
1432
|
-
}] });
|
|
1436
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1433
1437
|
|
|
1434
1438
|
/**
|
|
1435
1439
|
* @hidden
|
|
@@ -1769,6 +1773,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
1769
1773
|
{ text: 'Heading 5', tag: 'h5' },
|
|
1770
1774
|
{ text: 'Heading 6', tag: 'h6' }
|
|
1771
1775
|
];
|
|
1776
|
+
this.applyFormatSVGIcon = applyFormatIcon;
|
|
1772
1777
|
this.editor = providerService.editor;
|
|
1773
1778
|
}
|
|
1774
1779
|
/**
|
|
@@ -1894,12 +1899,12 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1894
1899
|
(click)="openDialog()">
|
|
1895
1900
|
<span
|
|
1896
1901
|
class="k-link k-menu-link">
|
|
1897
|
-
<
|
|
1902
|
+
<kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
|
|
1898
1903
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
1899
1904
|
</span>
|
|
1900
1905
|
</div>
|
|
1901
1906
|
</ng-template>
|
|
1902
|
-
`, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1907
|
+
`, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1903
1908
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
1904
1909
|
type: Component,
|
|
1905
1910
|
args: [{
|
|
@@ -1929,7 +1934,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1929
1934
|
(click)="openDialog()">
|
|
1930
1935
|
<span
|
|
1931
1936
|
class="k-link k-menu-link">
|
|
1932
|
-
<
|
|
1937
|
+
<kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
|
|
1933
1938
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
1934
1939
|
</span>
|
|
1935
1940
|
</div>
|
|
@@ -2147,6 +2152,50 @@ const commandIcons = {
|
|
|
2147
2152
|
deleteTable: 'table-delete'
|
|
2148
2153
|
// tableWizard: 'table-wizard'
|
|
2149
2154
|
};
|
|
2155
|
+
/**
|
|
2156
|
+
* @hidden
|
|
2157
|
+
*/
|
|
2158
|
+
const commandSVGIcons = {
|
|
2159
|
+
alignCenter: alignCenterIcon,
|
|
2160
|
+
alignJustify: alignJustifyIcon,
|
|
2161
|
+
alignLeft: alignLeftIcon,
|
|
2162
|
+
alignRight: alignRightIcon,
|
|
2163
|
+
backColor: dropletIcon,
|
|
2164
|
+
blockquote: rightDoubleQuotesIcon,
|
|
2165
|
+
bold: boldIcon,
|
|
2166
|
+
cleanFormatting: clearCssIcon,
|
|
2167
|
+
createLink: linkIcon,
|
|
2168
|
+
foreColor: foregroundColorIcon,
|
|
2169
|
+
indent: indentIcon,
|
|
2170
|
+
insertFile: fileAddIcon,
|
|
2171
|
+
insertImage: fileImageIcon,
|
|
2172
|
+
insertOrderedList: listOrderedIcon,
|
|
2173
|
+
insertUnorderedList: listUnorderedIcon,
|
|
2174
|
+
italic: italicIcon,
|
|
2175
|
+
outdent: outdentIcon,
|
|
2176
|
+
print: printIcon,
|
|
2177
|
+
redo: redoIcon,
|
|
2178
|
+
selectAll: selectAllIcon,
|
|
2179
|
+
strikethrough: strikethroughIcon,
|
|
2180
|
+
subscript: subscriptIcon,
|
|
2181
|
+
superscript: supscriptIcon,
|
|
2182
|
+
underline: underlineIcon,
|
|
2183
|
+
undo: undoIcon,
|
|
2184
|
+
unlink: unlinkIcon,
|
|
2185
|
+
viewSource: codeSnippetIcon,
|
|
2186
|
+
//table
|
|
2187
|
+
insertTable: tableAddIcon,
|
|
2188
|
+
addColumnBefore: tableColumnInsertLeftIcon,
|
|
2189
|
+
addColumnAfter: tableColumnInsertRightIcon,
|
|
2190
|
+
addRowBefore: tableRowInsertAboveIcon,
|
|
2191
|
+
addRowAfter: tableRowInsertBelowIcon,
|
|
2192
|
+
deleteRow: tableRowDeleteIcon,
|
|
2193
|
+
deleteColumn: tableColumnDeleteIcon,
|
|
2194
|
+
mergeCells: cellsMergeIcon,
|
|
2195
|
+
splitCell: cellSplitHorizontallyIcon,
|
|
2196
|
+
deleteTable: tableDeleteIcon
|
|
2197
|
+
// tableWizard: 'table-wizard'
|
|
2198
|
+
};
|
|
2150
2199
|
|
|
2151
2200
|
const MY_TOKEN = new InjectionToken('COMMAND_TOKEN');
|
|
2152
2201
|
/**
|
|
@@ -2159,18 +2208,25 @@ class EditorCommandBaseDirective {
|
|
|
2159
2208
|
this.localization = localization;
|
|
2160
2209
|
this.toolsService = toolsService;
|
|
2161
2210
|
this.editor = providerService.editor;
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
this.button.icon
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2211
|
+
this.toolsService.zone.runOutsideAngular(() => {
|
|
2212
|
+
setTimeout(() => {
|
|
2213
|
+
const text = this.localization.get(this.command);
|
|
2214
|
+
if (text) {
|
|
2215
|
+
this.button.showText = 'overflow';
|
|
2216
|
+
this.button.showIcon = 'both';
|
|
2217
|
+
this.button.text = text;
|
|
2218
|
+
}
|
|
2219
|
+
if (!this.button.toolbarOptions.icon) {
|
|
2220
|
+
this.button.icon = commandIcons[this.command];
|
|
2221
|
+
}
|
|
2222
|
+
if (!this.button.toolbarOptions.svgIcon) {
|
|
2223
|
+
this.button.svgIcon = commandSVGIcons[this.command];
|
|
2224
|
+
}
|
|
2225
|
+
this.button.title = text;
|
|
2226
|
+
this.toolsService.zone.run(() => {
|
|
2227
|
+
this.toolsService.needsCheck.next();
|
|
2228
|
+
});
|
|
2229
|
+
});
|
|
2174
2230
|
});
|
|
2175
2231
|
}
|
|
2176
2232
|
ngOnInit() {
|
|
@@ -3973,6 +4029,7 @@ class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
3973
4029
|
setData(args) {
|
|
3974
4030
|
this.editor = args.editor;
|
|
3975
4031
|
this.value = args.value;
|
|
4032
|
+
this.svgIcon = args.svgIcon;
|
|
3976
4033
|
this.editorCommand = args.editorCommand;
|
|
3977
4034
|
this.paletteSettings = args.paletteSettings;
|
|
3978
4035
|
this.icon = args.icon;
|
|
@@ -3994,6 +4051,7 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3994
4051
|
[format]="'hex'"
|
|
3995
4052
|
[attr.title]="title"
|
|
3996
4053
|
[icon]="icon"
|
|
4054
|
+
[svgIcon]="svgIcon"
|
|
3997
4055
|
[(value)]="value"
|
|
3998
4056
|
[paletteSettings]="paletteSettings"
|
|
3999
4057
|
(activeColorClick)="handleActiveColorClick($event)"
|
|
@@ -4020,6 +4078,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4020
4078
|
[format]="'hex'"
|
|
4021
4079
|
[attr.title]="title"
|
|
4022
4080
|
[icon]="icon"
|
|
4081
|
+
[svgIcon]="svgIcon"
|
|
4023
4082
|
[(value)]="value"
|
|
4024
4083
|
[paletteSettings]="paletteSettings"
|
|
4025
4084
|
(activeColorClick)="handleActiveColorClick($event)"
|
|
@@ -4226,6 +4285,7 @@ class PopupTableGridComponent {
|
|
|
4226
4285
|
constructor() {
|
|
4227
4286
|
this.cellClick = new EventEmitter();
|
|
4228
4287
|
this.tableWizardClick = new EventEmitter();
|
|
4288
|
+
this.tableWizardIcon = tableWizardIcon;
|
|
4229
4289
|
this.state = { rows: -1, cols: -1 };
|
|
4230
4290
|
this.rows = 6;
|
|
4231
4291
|
this.cols = 8;
|
|
@@ -4271,7 +4331,7 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4271
4331
|
<div class="k-status" unselectable="on">{{ message }}</div>
|
|
4272
4332
|
<!-- uncomment when TableWizard is completed
|
|
4273
4333
|
<div class="k-editor-toolbar" unselectable="on">
|
|
4274
|
-
<button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
|
|
4334
|
+
<button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
|
|
4275
4335
|
</div>
|
|
4276
4336
|
-->
|
|
4277
4337
|
`, isInline: true, directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
@@ -4291,7 +4351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4291
4351
|
<div class="k-status" unselectable="on">{{ message }}</div>
|
|
4292
4352
|
<!-- uncomment when TableWizard is completed
|
|
4293
4353
|
<div class="k-editor-toolbar" unselectable="on">
|
|
4294
|
-
<button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
|
|
4354
|
+
<button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
|
|
4295
4355
|
</div>
|
|
4296
4356
|
-->
|
|
4297
4357
|
`
|
|
@@ -4553,6 +4613,7 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4553
4613
|
* Fires when the user updates the value of the drop-down list.
|
|
4554
4614
|
*/
|
|
4555
4615
|
this.valueChange = new EventEmitter();
|
|
4616
|
+
this.fontSizeSVGIcon = fontSizeIcon;
|
|
4556
4617
|
this._data = [
|
|
4557
4618
|
{ text: '8px', size: '8px' },
|
|
4558
4619
|
{ text: '10px', size: '10px' },
|
|
@@ -4698,12 +4759,12 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4698
4759
|
(click)="openDialog()">
|
|
4699
4760
|
<span
|
|
4700
4761
|
class="k-link k-menu-link">
|
|
4701
|
-
<
|
|
4762
|
+
<kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
|
|
4702
4763
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4703
4764
|
</span>
|
|
4704
4765
|
</div>
|
|
4705
4766
|
</ng-template>
|
|
4706
|
-
`, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4767
|
+
`, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4707
4768
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
|
|
4708
4769
|
type: Component,
|
|
4709
4770
|
args: [{
|
|
@@ -4734,7 +4795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4734
4795
|
(click)="openDialog()">
|
|
4735
4796
|
<span
|
|
4736
4797
|
class="k-link k-menu-link">
|
|
4737
|
-
<
|
|
4798
|
+
<kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
|
|
4738
4799
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4739
4800
|
</span>
|
|
4740
4801
|
</div>
|
|
@@ -4762,6 +4823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4762
4823
|
args: ['fontSizeButton', { read: ElementRef }]
|
|
4763
4824
|
}] } });
|
|
4764
4825
|
|
|
4826
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4765
4827
|
/**
|
|
4766
4828
|
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
4767
4829
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -4786,6 +4848,7 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
4786
4848
|
* Fires when the user updates the value of the drop-down list.
|
|
4787
4849
|
*/
|
|
4788
4850
|
this.valueChange = new EventEmitter();
|
|
4851
|
+
this.fontFamilySVGIcon = fontFamilyIcon;
|
|
4789
4852
|
this._data = [
|
|
4790
4853
|
{ text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
|
|
4791
4854
|
{ text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
|
|
@@ -4924,12 +4987,12 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4924
4987
|
(click)="openDialog()">
|
|
4925
4988
|
<span
|
|
4926
4989
|
class="k-link k-menu-link">
|
|
4927
|
-
<
|
|
4990
|
+
<kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
|
|
4928
4991
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4929
4992
|
</span>
|
|
4930
4993
|
</div>
|
|
4931
4994
|
</ng-template>
|
|
4932
|
-
`, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4995
|
+
`, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4933
4996
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
|
|
4934
4997
|
type: Component,
|
|
4935
4998
|
args: [{
|
|
@@ -4960,7 +5023,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4960
5023
|
(click)="openDialog()">
|
|
4961
5024
|
<span
|
|
4962
5025
|
class="k-link k-menu-link">
|
|
4963
|
-
<
|
|
5026
|
+
<kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
|
|
4964
5027
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4965
5028
|
</span>
|
|
4966
5029
|
</div>
|
|
@@ -4988,7 +5051,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4988
5051
|
args: ['fontFamilyButton', { read: ElementRef }]
|
|
4989
5052
|
}] } });
|
|
4990
5053
|
|
|
4991
|
-
|
|
5054
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4992
5055
|
/**
|
|
4993
5056
|
* A component which configures an existing ColorPickerComponent as a ToolBar tool.
|
|
4994
5057
|
* To associate a `kendo-toolbar-colorpicker` with an Editor command that changes the
|
|
@@ -5109,6 +5172,7 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5109
5172
|
editorCommand: this.editorCommand,
|
|
5110
5173
|
paletteSettings: this.paletteSettings,
|
|
5111
5174
|
icon: this.icon,
|
|
5175
|
+
svgIcon: this.svgIcon,
|
|
5112
5176
|
views: this.views
|
|
5113
5177
|
});
|
|
5114
5178
|
}
|
|
@@ -5137,20 +5201,15 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5137
5201
|
this.tabindex = -1;
|
|
5138
5202
|
return false;
|
|
5139
5203
|
}
|
|
5140
|
-
/**
|
|
5141
|
-
* @hidden
|
|
5142
|
-
*/
|
|
5143
|
-
getIconClasses() {
|
|
5144
|
-
return `k-icon k-i-${this.icon}`;
|
|
5145
|
-
}
|
|
5146
5204
|
}
|
|
5147
5205
|
EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5148
|
-
EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorColorPickerComponent, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { 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: `
|
|
5206
|
+
EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorColorPickerComponent, 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: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { 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: `
|
|
5149
5207
|
<ng-template #toolbarTemplate>
|
|
5150
5208
|
<kendo-colorpicker
|
|
5151
5209
|
#colorpicker
|
|
5152
5210
|
[attr.title]="title"
|
|
5153
5211
|
[icon]="icon"
|
|
5212
|
+
[svgIcon]="svgIcon"
|
|
5154
5213
|
[views]="views"
|
|
5155
5214
|
[format]="'hex'"
|
|
5156
5215
|
[value]="value"
|
|
@@ -5175,12 +5234,16 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
5175
5234
|
(click)="openDialog()">
|
|
5176
5235
|
<span
|
|
5177
5236
|
class="k-link k-menu-link">
|
|
5178
|
-
<
|
|
5237
|
+
<kendo-icon-wrapper
|
|
5238
|
+
*ngIf="icon"
|
|
5239
|
+
[name]="icon"
|
|
5240
|
+
[svgIcon]="svgIcon"
|
|
5241
|
+
></kendo-icon-wrapper>
|
|
5179
5242
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5180
5243
|
</span>
|
|
5181
5244
|
</div>
|
|
5182
5245
|
</ng-template>
|
|
5183
|
-
`, isInline: true, components: [{ type: i4.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }
|
|
5246
|
+
`, isInline: true, components: [{ type: i4.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5184
5247
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
5185
5248
|
type: Component,
|
|
5186
5249
|
args: [{
|
|
@@ -5192,6 +5255,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5192
5255
|
#colorpicker
|
|
5193
5256
|
[attr.title]="title"
|
|
5194
5257
|
[icon]="icon"
|
|
5258
|
+
[svgIcon]="svgIcon"
|
|
5195
5259
|
[views]="views"
|
|
5196
5260
|
[format]="'hex'"
|
|
5197
5261
|
[value]="value"
|
|
@@ -5216,7 +5280,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5216
5280
|
(click)="openDialog()">
|
|
5217
5281
|
<span
|
|
5218
5282
|
class="k-link k-menu-link">
|
|
5219
|
-
<
|
|
5283
|
+
<kendo-icon-wrapper
|
|
5284
|
+
*ngIf="icon"
|
|
5285
|
+
[name]="icon"
|
|
5286
|
+
[svgIcon]="svgIcon"
|
|
5287
|
+
></kendo-icon-wrapper>
|
|
5220
5288
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5221
5289
|
</span>
|
|
5222
5290
|
</div>
|
|
@@ -5227,6 +5295,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5227
5295
|
type: Input
|
|
5228
5296
|
}], icon: [{
|
|
5229
5297
|
type: Input
|
|
5298
|
+
}], svgIcon: [{
|
|
5299
|
+
type: Input
|
|
5230
5300
|
}], paletteSettings: [{
|
|
5231
5301
|
type: Input
|
|
5232
5302
|
}], editorCommand: [{
|
|
@@ -5271,6 +5341,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
5271
5341
|
this.popupService = popupService;
|
|
5272
5342
|
this.dialogService = dialogService;
|
|
5273
5343
|
this.renderer = renderer;
|
|
5344
|
+
this.addTableSVGIcon = tableAddIcon;
|
|
5274
5345
|
this.open = false;
|
|
5275
5346
|
this.buttonBlurred = new EventEmitter();
|
|
5276
5347
|
this.cellClicked = new EventEmitter();
|
|
@@ -5405,6 +5476,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5405
5476
|
[attr.title]="title"
|
|
5406
5477
|
[attr.tabindex]="tabIndex"
|
|
5407
5478
|
icon="table-add"
|
|
5479
|
+
[svgIcon]="addTableSVGIcon"
|
|
5408
5480
|
[disabled]="disabled"
|
|
5409
5481
|
(click)="toggle()"
|
|
5410
5482
|
(blur)="onBlur()"
|
|
@@ -5419,7 +5491,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5419
5491
|
(click)="openDialog()">
|
|
5420
5492
|
<span
|
|
5421
5493
|
class="k-link k-menu-link">
|
|
5422
|
-
<
|
|
5494
|
+
<kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
|
|
5423
5495
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5424
5496
|
</span>
|
|
5425
5497
|
</div>
|
|
@@ -5427,7 +5499,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5427
5499
|
<ng-template #popupGridTemplate>
|
|
5428
5500
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
5429
5501
|
</ng-template>
|
|
5430
|
-
`, isInline: true, components: [{ type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5502
|
+
`, isInline: true, components: [{ type: i4$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5431
5503
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
5432
5504
|
type: Component,
|
|
5433
5505
|
args: [{
|
|
@@ -5442,6 +5514,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5442
5514
|
[attr.title]="title"
|
|
5443
5515
|
[attr.tabindex]="tabIndex"
|
|
5444
5516
|
icon="table-add"
|
|
5517
|
+
[svgIcon]="addTableSVGIcon"
|
|
5445
5518
|
[disabled]="disabled"
|
|
5446
5519
|
(click)="toggle()"
|
|
5447
5520
|
(blur)="onBlur()"
|
|
@@ -5456,7 +5529,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5456
5529
|
(click)="openDialog()">
|
|
5457
5530
|
<span
|
|
5458
5531
|
class="k-link k-menu-link">
|
|
5459
|
-
<
|
|
5532
|
+
<kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
|
|
5460
5533
|
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5461
5534
|
</span>
|
|
5462
5535
|
</div>
|
|
@@ -5738,6 +5811,7 @@ class EditorForeColorDirective {
|
|
|
5738
5811
|
constructor(colorPicker) {
|
|
5739
5812
|
this.colorPicker = colorPicker;
|
|
5740
5813
|
this.colorPicker.icon = commandIcons.foreColor;
|
|
5814
|
+
this.colorPicker.svgIcon = commandSVGIcons.foreColor;
|
|
5741
5815
|
this.colorPicker.editorCommand = 'foreColor';
|
|
5742
5816
|
}
|
|
5743
5817
|
}
|
|
@@ -5759,6 +5833,7 @@ class EditorBackColorDirective {
|
|
|
5759
5833
|
constructor(colorPicker) {
|
|
5760
5834
|
this.colorPicker = colorPicker;
|
|
5761
5835
|
this.colorPicker.icon = commandIcons.backColor;
|
|
5836
|
+
this.colorPicker.svgIcon = commandSVGIcons.backColor;
|
|
5762
5837
|
this.colorPicker.editorCommand = 'backColor';
|
|
5763
5838
|
}
|
|
5764
5839
|
}
|
|
@@ -6367,6 +6442,7 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
6367
6442
|
DropDownsModule,
|
|
6368
6443
|
NumericTextBoxModule,
|
|
6369
6444
|
CheckBoxModule,
|
|
6445
|
+
IconsModule,
|
|
6370
6446
|
ToolBarModule,
|
|
6371
6447
|
TextBoxModule,
|
|
6372
6448
|
TextAreaModule,
|
|
@@ -6449,6 +6525,7 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
6449
6525
|
DropDownsModule,
|
|
6450
6526
|
NumericTextBoxModule,
|
|
6451
6527
|
CheckBoxModule,
|
|
6528
|
+
IconsModule,
|
|
6452
6529
|
ToolBarModule,
|
|
6453
6530
|
TextBoxModule,
|
|
6454
6531
|
TextAreaModule,
|
|
@@ -6492,6 +6569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6492
6569
|
DropDownsModule,
|
|
6493
6570
|
NumericTextBoxModule,
|
|
6494
6571
|
CheckBoxModule,
|
|
6572
|
+
IconsModule,
|
|
6495
6573
|
ToolBarModule,
|
|
6496
6574
|
TextBoxModule,
|
|
6497
6575
|
TextAreaModule,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "11.0.0-develop.
|
|
3
|
+
"version": "11.0.0-develop.113",
|
|
4
4
|
"description": "Kendo UI Editor for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,17 +23,18 @@
|
|
|
23
23
|
"@progress/kendo-drawing": "^1.5.12",
|
|
24
24
|
"@progress/kendo-editor-common": "1.9.3",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-buttons": "11.0.0-develop.
|
|
27
|
-
"@progress/kendo-angular-common": "11.0.0-develop.
|
|
28
|
-
"@progress/kendo-angular-dialog": "11.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-dropdowns": "11.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-inputs": "11.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-intl": "11.0.0-develop.
|
|
32
|
-
"@progress/kendo-angular-l10n": "11.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-layout": "11.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-
|
|
35
|
-
"@progress/kendo-angular-
|
|
36
|
-
"@progress/kendo-angular-
|
|
26
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.113",
|
|
27
|
+
"@progress/kendo-angular-common": "11.0.0-develop.113",
|
|
28
|
+
"@progress/kendo-angular-dialog": "11.0.0-develop.113",
|
|
29
|
+
"@progress/kendo-angular-dropdowns": "11.0.0-develop.113",
|
|
30
|
+
"@progress/kendo-angular-inputs": "11.0.0-develop.113",
|
|
31
|
+
"@progress/kendo-angular-intl": "11.0.0-develop.113",
|
|
32
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.113",
|
|
33
|
+
"@progress/kendo-angular-layout": "11.0.0-develop.113",
|
|
34
|
+
"@progress/kendo-angular-icons": "11.0.0-develop.113",
|
|
35
|
+
"@progress/kendo-angular-popup": "11.0.0-develop.113",
|
|
36
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.113",
|
|
37
|
+
"@progress/kendo-angular-toolbar": "11.0.0-develop.113",
|
|
37
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
@@ -8,7 +8,9 @@ function default_1(options) {
|
|
|
8
8
|
// peer dependency of kendo-angular-layout
|
|
9
9
|
'@progress/kendo-angular-progressbar': '^3.0.0',
|
|
10
10
|
// peer dependency of kendo-angular-inputs
|
|
11
|
-
'@progress/kendo-angular-dialog': '^7.0.0'
|
|
11
|
+
'@progress/kendo-angular-dialog': '^7.0.0',
|
|
12
|
+
// Peer dependency of icons
|
|
13
|
+
"@progress/kendo-svg-icons": "^1.0.0"
|
|
12
14
|
} });
|
|
13
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
14
16
|
}
|
|
@@ -8,6 +8,7 @@ import { PaletteSettings, ActiveColorClickEvent, ColorPickerComponent, ColorPick
|
|
|
8
8
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
9
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
10
10
|
import { ProviderService } from '../../common/provider.service';
|
|
11
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* A component which configures an existing ColorPickerComponent as a ToolBar tool.
|
|
@@ -28,6 +29,11 @@ export declare class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
28
29
|
* Specifies the Kendo UI font icon that will be used.
|
|
29
30
|
*/
|
|
30
31
|
icon: string;
|
|
32
|
+
/**
|
|
33
|
+
* Defines an SVGIcon to be rendered within the ColorPicker button.
|
|
34
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
35
|
+
*/
|
|
36
|
+
svgIcon: SVGIcon;
|
|
31
37
|
/**
|
|
32
38
|
* Overrides the default [color palette settings]({% slug api_inputs_palettesettings %}).
|
|
33
39
|
*/
|
|
@@ -109,10 +115,6 @@ export declare class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
109
115
|
* @hidden
|
|
110
116
|
*/
|
|
111
117
|
handleKey(): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* @hidden
|
|
114
|
-
*/
|
|
115
|
-
getIconClasses(): string;
|
|
116
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorColorPickerComponent, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditorColorPickerComponent, "kendo-toolbar-colorpicker", never, { "value": "value"; "icon": "icon"; "paletteSettings": "paletteSettings"; "editorCommand": "editorCommand"; "disabled": "disabled"; "views": "views"; "view": "view"; }, {}, never, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorColorPickerComponent, "kendo-toolbar-colorpicker", never, { "value": "value"; "icon": "icon"; "svgIcon": "svgIcon"; "paletteSettings": "paletteSettings"; "editorCommand": "editorCommand"; "disabled": "disabled"; "views": "views"; "view": "view"; }, {}, never, never>;
|
|
118
120
|
}
|
|
@@ -10,6 +10,7 @@ import { DialogService } from '@progress/kendo-angular-dialog';
|
|
|
10
10
|
import { FontFamilyDropDownListComponent } from './editor-fontfamily-dropdownlist.component';
|
|
11
11
|
import { ProviderService } from '../../common/provider.service';
|
|
12
12
|
import { EditorToolsService } from '../tools.service';
|
|
13
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
/**
|
|
15
16
|
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
@@ -55,6 +56,7 @@ export declare class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
55
56
|
dataItem: any;
|
|
56
57
|
index: number;
|
|
57
58
|
}) => boolean;
|
|
59
|
+
fontFamilySVGIcon: SVGIcon;
|
|
58
60
|
private subs;
|
|
59
61
|
private editor;
|
|
60
62
|
private _data;
|
|
@@ -11,6 +11,7 @@ import { DialogService } from '@progress/kendo-angular-dialog';
|
|
|
11
11
|
import { FontSizeDropDownListComponent } from './editor-fontsize-dropdownlist.component';
|
|
12
12
|
import { ProviderService } from '../../common/provider.service';
|
|
13
13
|
import { EditorToolsService } from '../tools.service';
|
|
14
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
/**
|
|
16
17
|
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
@@ -52,6 +53,7 @@ export declare class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
52
53
|
* @hidden
|
|
53
54
|
*/
|
|
54
55
|
defaultItem: FontSizeItem;
|
|
56
|
+
fontSizeSVGIcon: SVGIcon;
|
|
55
57
|
/**
|
|
56
58
|
* @hidden
|
|
57
59
|
*/
|
|
@@ -11,6 +11,7 @@ import { EditorLocalizationService } from '../../localization/editor-localizatio
|
|
|
11
11
|
import { FormatDropDownListComponent } from './editor-format-dropdownlist.component';
|
|
12
12
|
import { ProviderService } from '../../common/provider.service';
|
|
13
13
|
import { EditorToolsService } from '../tools.service';
|
|
14
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
/**
|
|
16
17
|
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
@@ -48,6 +49,7 @@ export declare class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
48
49
|
formatButton: ElementRef;
|
|
49
50
|
private subs;
|
|
50
51
|
private _data;
|
|
52
|
+
applyFormatSVGIcon: SVGIcon;
|
|
51
53
|
private editor;
|
|
52
54
|
constructor(dialogService: DialogService, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
|
|
53
55
|
ngOnInit(): void;
|
|
@@ -9,6 +9,7 @@ import { EditorLocalizationService } from '../../localization/editor-localizatio
|
|
|
9
9
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
10
10
|
import { ProviderService } from '../../common/provider.service';
|
|
11
11
|
import { TableData } from '../../common/table-data.interface';
|
|
12
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
/**
|
|
14
15
|
* A toolbar component which allows the user to create and insert a table in the Editor's content.
|
|
@@ -36,6 +37,7 @@ export declare class EditorInsertTableButtonComponent extends ToolBarToolCompone
|
|
|
36
37
|
* @hidden
|
|
37
38
|
*/
|
|
38
39
|
disabled: boolean;
|
|
40
|
+
addTableSVGIcon: SVGIcon;
|
|
39
41
|
private open;
|
|
40
42
|
private buttonBlurred;
|
|
41
43
|
private cellClicked;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
6
7
|
import { TableData } from '../../common/table-data.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
@@ -11,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
11
12
|
export declare class PopupTableGridComponent {
|
|
12
13
|
cellClick: EventEmitter<TableData>;
|
|
13
14
|
tableWizardClick: EventEmitter<any>;
|
|
15
|
+
tableWizardIcon: SVGIcon;
|
|
14
16
|
private state;
|
|
15
17
|
private rows;
|
|
16
18
|
private cols;
|