@progress/kendo-angular-editor 11.0.0-develop.102 → 11.0.0-develop.103
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/esm2020/editor.component.mjs +2 -1
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +35 -31
- package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +24 -26
- package/esm2020/tools/fontsize/editor-fontsize.component.mjs +24 -26
- package/esm2020/tools/format/editor-format.component.mjs +24 -28
- package/esm2020/tools/shared/editor-command-button.mjs +10 -2
- package/esm2020/tools/shared/editor-command-dialog.mjs +10 -2
- package/esm2020/tools/tables/editor-insert-table-button.component.mjs +22 -17
- package/fesm2015/progress-kendo-angular-editor.mjs +148 -130
- package/fesm2020/progress-kendo-angular-editor.mjs +147 -130
- package/package.json +12 -12
- package/tools/colorpicker/editor-colorpicker.component.d.ts +4 -0
|
@@ -35,7 +35,7 @@ const packageMetadata = {
|
|
|
35
35
|
name: '@progress/kendo-angular-editor',
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
38
|
-
publishDate:
|
|
38
|
+
publishDate: 1673523577,
|
|
39
39
|
version: '',
|
|
40
40
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
41
41
|
};
|
|
@@ -1877,22 +1877,20 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1877
1877
|
</kendo-editor-format-dropdownlist>
|
|
1878
1878
|
</ng-template>
|
|
1879
1879
|
<ng-template #popupTemplate>
|
|
1880
|
-
<
|
|
1881
|
-
|
|
1880
|
+
<div #formatButton
|
|
1881
|
+
role="menuitem"
|
|
1882
|
+
class="k-item k-menu-item"
|
|
1883
|
+
[class.k-disabled]="disabled"
|
|
1882
1884
|
[tabindex]="tabindex"
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
(click)="openDialog()"
|
|
1891
|
-
>
|
|
1892
|
-
{{ title }}
|
|
1893
|
-
</button>
|
|
1885
|
+
(click)="openDialog()">
|
|
1886
|
+
<span
|
|
1887
|
+
class="k-link k-menu-link">
|
|
1888
|
+
<span class="k-icon k-i-apply-format"></span>
|
|
1889
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
1890
|
+
</span>
|
|
1891
|
+
</div>
|
|
1894
1892
|
</ng-template>
|
|
1895
|
-
`, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type:
|
|
1893
|
+
`, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1896
1894
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
1897
1895
|
type: Component,
|
|
1898
1896
|
args: [{
|
|
@@ -1914,20 +1912,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1914
1912
|
</kendo-editor-format-dropdownlist>
|
|
1915
1913
|
</ng-template>
|
|
1916
1914
|
<ng-template #popupTemplate>
|
|
1917
|
-
<
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
kendoButton
|
|
1922
|
-
class="k-overflow-button"
|
|
1923
|
-
[icon]="'apply-format'"
|
|
1924
|
-
[attr.title]="title"
|
|
1925
|
-
[disabled]="disabled"
|
|
1915
|
+
<div #formatButton
|
|
1916
|
+
role="menuitem"
|
|
1917
|
+
class="k-item k-menu-item"
|
|
1918
|
+
[class.k-disabled]="disabled"
|
|
1926
1919
|
[tabindex]="tabindex"
|
|
1927
|
-
(click)="openDialog()"
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1920
|
+
(click)="openDialog()">
|
|
1921
|
+
<span
|
|
1922
|
+
class="k-link k-menu-link">
|
|
1923
|
+
<span class="k-icon k-i-apply-format"></span>
|
|
1924
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
1925
|
+
</span>
|
|
1926
|
+
</div>
|
|
1931
1927
|
</ng-template>
|
|
1932
1928
|
`
|
|
1933
1929
|
}]
|
|
@@ -2216,8 +2212,16 @@ class EditorCommandButton extends EditorCommandBaseDirective {
|
|
|
2216
2212
|
e.preventDefault();
|
|
2217
2213
|
}
|
|
2218
2214
|
onStateChange(toolBarState) {
|
|
2219
|
-
this.button.
|
|
2220
|
-
|
|
2215
|
+
if (this.button.overflows) {
|
|
2216
|
+
setTimeout(() => {
|
|
2217
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2218
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2219
|
+
});
|
|
2220
|
+
}
|
|
2221
|
+
else {
|
|
2222
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2223
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2224
|
+
}
|
|
2221
2225
|
}
|
|
2222
2226
|
}
|
|
2223
2227
|
|
|
@@ -2588,8 +2592,16 @@ class EditorCommandDialog extends EditorCommandBaseDirective {
|
|
|
2588
2592
|
this.editor.openDialog(this.dialog);
|
|
2589
2593
|
}
|
|
2590
2594
|
onStateChange(toolBarState) {
|
|
2591
|
-
this.button.
|
|
2592
|
-
|
|
2595
|
+
if (this.button.overflows) {
|
|
2596
|
+
setTimeout(() => {
|
|
2597
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2598
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2599
|
+
});
|
|
2600
|
+
}
|
|
2601
|
+
else {
|
|
2602
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2603
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2604
|
+
}
|
|
2593
2605
|
}
|
|
2594
2606
|
}
|
|
2595
2607
|
|
|
@@ -3065,6 +3077,7 @@ class EditorComponent {
|
|
|
3065
3077
|
if (this.resizable) {
|
|
3066
3078
|
this.normalizeSize();
|
|
3067
3079
|
}
|
|
3080
|
+
this.toolbar.onResize();
|
|
3068
3081
|
}
|
|
3069
3082
|
ngOnChanges(changes) {
|
|
3070
3083
|
if (changes['value'] && this.view) {
|
|
@@ -3637,7 +3650,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
3637
3650
|
</div>
|
|
3638
3651
|
|
|
3639
3652
|
<ng-container #dialogsContainer></ng-container>
|
|
3640
|
-
`, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
|
|
3653
|
+
`, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
|
|
3641
3654
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, decorators: [{
|
|
3642
3655
|
type: Component,
|
|
3643
3656
|
args: [{
|
|
@@ -4678,22 +4691,21 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4678
4691
|
</kendo-editor-fontsize-dropdownlist>
|
|
4679
4692
|
</ng-template>
|
|
4680
4693
|
<ng-template #popupTemplate>
|
|
4681
|
-
<
|
|
4694
|
+
<div #fontSizeButton
|
|
4682
4695
|
tabindex="-1"
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
class="k-overflow-button"
|
|
4687
|
-
[icon]="'font-size'"
|
|
4688
|
-
[attr.title]="title"
|
|
4689
|
-
[disabled]="disabled"
|
|
4696
|
+
role="menuitem"
|
|
4697
|
+
class="k-item k-menu-item"
|
|
4698
|
+
[class.k-disabled]="disabled"
|
|
4690
4699
|
[tabindex]="tabindex"
|
|
4691
|
-
(click)="openDialog()"
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4700
|
+
(click)="openDialog()">
|
|
4701
|
+
<span
|
|
4702
|
+
class="k-link k-menu-link">
|
|
4703
|
+
<span class="k-icon k-i-font-size"></span>
|
|
4704
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4705
|
+
</span>
|
|
4706
|
+
</div>
|
|
4695
4707
|
</ng-template>
|
|
4696
|
-
`, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type:
|
|
4708
|
+
`, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4697
4709
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
|
|
4698
4710
|
type: Component,
|
|
4699
4711
|
args: [{
|
|
@@ -4715,20 +4727,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4715
4727
|
</kendo-editor-fontsize-dropdownlist>
|
|
4716
4728
|
</ng-template>
|
|
4717
4729
|
<ng-template #popupTemplate>
|
|
4718
|
-
<
|
|
4730
|
+
<div #fontSizeButton
|
|
4719
4731
|
tabindex="-1"
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
class="k-overflow-button"
|
|
4724
|
-
[icon]="'font-size'"
|
|
4725
|
-
[attr.title]="title"
|
|
4726
|
-
[disabled]="disabled"
|
|
4732
|
+
role="menuitem"
|
|
4733
|
+
class="k-item k-menu-item"
|
|
4734
|
+
[class.k-disabled]="disabled"
|
|
4727
4735
|
[tabindex]="tabindex"
|
|
4728
|
-
(click)="openDialog()"
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4736
|
+
(click)="openDialog()">
|
|
4737
|
+
<span
|
|
4738
|
+
class="k-link k-menu-link">
|
|
4739
|
+
<span class="k-icon k-i-font-size"></span>
|
|
4740
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4741
|
+
</span>
|
|
4742
|
+
</div>
|
|
4732
4743
|
</ng-template>
|
|
4733
4744
|
`
|
|
4734
4745
|
}]
|
|
@@ -4903,22 +4914,21 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4903
4914
|
</kendo-editor-fontfamily-dropdownlist>
|
|
4904
4915
|
</ng-template>
|
|
4905
4916
|
<ng-template #popupTemplate>
|
|
4906
|
-
<
|
|
4917
|
+
<div #fontFamilyButton
|
|
4907
4918
|
tabindex="-1"
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
class="k-overflow-button"
|
|
4912
|
-
[icon]="'font-family'"
|
|
4913
|
-
[attr.title]="title"
|
|
4914
|
-
[disabled]="disabled"
|
|
4919
|
+
role="menuitem"
|
|
4920
|
+
class="k-item k-menu-item"
|
|
4921
|
+
[class.k-disabled]="disabled"
|
|
4915
4922
|
[tabindex]="tabindex"
|
|
4916
|
-
(click)="openDialog()"
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4923
|
+
(click)="openDialog()">
|
|
4924
|
+
<span
|
|
4925
|
+
class="k-link k-menu-link">
|
|
4926
|
+
<span class="k-icon k-i-font-family"></span>
|
|
4927
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4928
|
+
</span>
|
|
4929
|
+
</div>
|
|
4920
4930
|
</ng-template>
|
|
4921
|
-
`, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type:
|
|
4931
|
+
`, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4922
4932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
|
|
4923
4933
|
type: Component,
|
|
4924
4934
|
args: [{
|
|
@@ -4940,20 +4950,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4940
4950
|
</kendo-editor-fontfamily-dropdownlist>
|
|
4941
4951
|
</ng-template>
|
|
4942
4952
|
<ng-template #popupTemplate>
|
|
4943
|
-
<
|
|
4953
|
+
<div #fontFamilyButton
|
|
4944
4954
|
tabindex="-1"
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
class="k-overflow-button"
|
|
4949
|
-
[icon]="'font-family'"
|
|
4950
|
-
[attr.title]="title"
|
|
4951
|
-
[disabled]="disabled"
|
|
4955
|
+
role="menuitem"
|
|
4956
|
+
class="k-item k-menu-item"
|
|
4957
|
+
[class.k-disabled]="disabled"
|
|
4952
4958
|
[tabindex]="tabindex"
|
|
4953
|
-
(click)="openDialog()"
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4959
|
+
(click)="openDialog()">
|
|
4960
|
+
<span
|
|
4961
|
+
class="k-link k-menu-link">
|
|
4962
|
+
<span class="k-icon k-i-font-family"></span>
|
|
4963
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4964
|
+
</span>
|
|
4965
|
+
</div>
|
|
4957
4966
|
</ng-template>
|
|
4958
4967
|
`
|
|
4959
4968
|
}]
|
|
@@ -5109,12 +5118,13 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5109
5118
|
* @hidden
|
|
5110
5119
|
*/
|
|
5111
5120
|
focus() {
|
|
5121
|
+
var _a, _b;
|
|
5112
5122
|
this.tabindex = 0;
|
|
5113
5123
|
if (this.overflows) {
|
|
5114
|
-
this.colorPickerButton.nativeElement.focus();
|
|
5124
|
+
(_a = this.colorPickerButton) === null || _a === void 0 ? void 0 : _a.nativeElement.focus();
|
|
5115
5125
|
}
|
|
5116
5126
|
else {
|
|
5117
|
-
!this.colorPicker.isOpen && this.colorPicker.focus();
|
|
5127
|
+
!this.colorPicker.isOpen && ((_b = this.colorPicker) === null || _b === void 0 ? void 0 : _b.focus());
|
|
5118
5128
|
}
|
|
5119
5129
|
}
|
|
5120
5130
|
/**
|
|
@@ -5124,6 +5134,12 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5124
5134
|
this.tabindex = -1;
|
|
5125
5135
|
return false;
|
|
5126
5136
|
}
|
|
5137
|
+
/**
|
|
5138
|
+
* @hidden
|
|
5139
|
+
*/
|
|
5140
|
+
getIconClasses() {
|
|
5141
|
+
return `k-icon k-i-${this.icon}`;
|
|
5142
|
+
}
|
|
5127
5143
|
}
|
|
5128
5144
|
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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5129
5145
|
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: `
|
|
@@ -5147,22 +5163,21 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
5147
5163
|
</kendo-colorpicker>
|
|
5148
5164
|
</ng-template>
|
|
5149
5165
|
<ng-template #popupTemplate>
|
|
5150
|
-
<
|
|
5166
|
+
<div #colorPickerButton
|
|
5151
5167
|
tabindex="-1"
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
class="k-overflow-button"
|
|
5156
|
-
[icon]="icon"
|
|
5157
|
-
[attr.title]="title"
|
|
5158
|
-
[disabled]="disabled"
|
|
5168
|
+
role="menuitem"
|
|
5169
|
+
class="k-item k-menu-item"
|
|
5170
|
+
[class.k-disabled]="disabled"
|
|
5159
5171
|
[tabindex]="tabindex"
|
|
5160
|
-
(click)="openDialog()"
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5172
|
+
(click)="openDialog()">
|
|
5173
|
+
<span
|
|
5174
|
+
class="k-link k-menu-link">
|
|
5175
|
+
<span *ngIf="icon" [ngClass]="getIconClasses()"></span>
|
|
5176
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5177
|
+
</span>
|
|
5178
|
+
</div>
|
|
5164
5179
|
</ng-template>
|
|
5165
|
-
`, isInline: true, components: [{ type: i6.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:
|
|
5180
|
+
`, isInline: true, components: [{ type: i6.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"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
5166
5181
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
5167
5182
|
type: Component,
|
|
5168
5183
|
args: [{
|
|
@@ -5189,20 +5204,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5189
5204
|
</kendo-colorpicker>
|
|
5190
5205
|
</ng-template>
|
|
5191
5206
|
<ng-template #popupTemplate>
|
|
5192
|
-
<
|
|
5207
|
+
<div #colorPickerButton
|
|
5193
5208
|
tabindex="-1"
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
class="k-overflow-button"
|
|
5198
|
-
[icon]="icon"
|
|
5199
|
-
[attr.title]="title"
|
|
5200
|
-
[disabled]="disabled"
|
|
5209
|
+
role="menuitem"
|
|
5210
|
+
class="k-item k-menu-item"
|
|
5211
|
+
[class.k-disabled]="disabled"
|
|
5201
5212
|
[tabindex]="tabindex"
|
|
5202
|
-
(click)="openDialog()"
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5213
|
+
(click)="openDialog()">
|
|
5214
|
+
<span
|
|
5215
|
+
class="k-link k-menu-link">
|
|
5216
|
+
<span *ngIf="icon" [ngClass]="getIconClasses()"></span>
|
|
5217
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5218
|
+
</span>
|
|
5219
|
+
</div>
|
|
5206
5220
|
</ng-template>
|
|
5207
5221
|
`
|
|
5208
5222
|
}]
|
|
@@ -5228,13 +5242,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5228
5242
|
args: ['popupTemplate', { static: true }]
|
|
5229
5243
|
}], element: [{
|
|
5230
5244
|
type: ViewChild,
|
|
5231
|
-
args: ['colorpicker', { read: ElementRef
|
|
5245
|
+
args: ['colorpicker', { read: ElementRef }]
|
|
5232
5246
|
}], colorPicker: [{
|
|
5233
5247
|
type: ViewChild,
|
|
5234
|
-
args: ['colorpicker', { read: ColorPickerComponent
|
|
5248
|
+
args: ['colorpicker', { read: ColorPickerComponent }]
|
|
5235
5249
|
}], colorPickerButton: [{
|
|
5236
5250
|
type: ViewChild,
|
|
5237
|
-
args: ['colorPickerButton', { read: ElementRef
|
|
5251
|
+
args: ['colorPickerButton', { read: ElementRef }]
|
|
5238
5252
|
}] } });
|
|
5239
5253
|
|
|
5240
5254
|
const popupWrapperWidth = '190px';
|
|
@@ -5391,21 +5405,23 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5391
5405
|
></button>
|
|
5392
5406
|
</ng-template>
|
|
5393
5407
|
<ng-template #popupTemplate>
|
|
5394
|
-
<
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
[
|
|
5408
|
+
<div #overflowElement
|
|
5409
|
+
role="menuitem"
|
|
5410
|
+
class="k-item k-menu-item"
|
|
5411
|
+
[class.k-disabled]="disabled"
|
|
5398
5412
|
[attr.tabindex]="tabIndex"
|
|
5399
|
-
icon="table-add"
|
|
5400
|
-
[disabled]="disabled"
|
|
5401
5413
|
(click)="openDialog()">
|
|
5402
|
-
|
|
5403
|
-
|
|
5414
|
+
<span
|
|
5415
|
+
class="k-link k-menu-link">
|
|
5416
|
+
<span class="k-icon k-i-table-add"></span>
|
|
5417
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5418
|
+
</span>
|
|
5419
|
+
</div>
|
|
5404
5420
|
</ng-template>
|
|
5405
5421
|
<ng-template #popupGridTemplate>
|
|
5406
5422
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
5407
5423
|
</ng-template>
|
|
5408
|
-
`, isInline: true, components: [{ type: i4.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"] }] });
|
|
5424
|
+
`, isInline: true, components: [{ type: i4.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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5409
5425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
5410
5426
|
type: Component,
|
|
5411
5427
|
args: [{
|
|
@@ -5426,16 +5442,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5426
5442
|
></button>
|
|
5427
5443
|
</ng-template>
|
|
5428
5444
|
<ng-template #popupTemplate>
|
|
5429
|
-
<
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
[
|
|
5445
|
+
<div #overflowElement
|
|
5446
|
+
role="menuitem"
|
|
5447
|
+
class="k-item k-menu-item"
|
|
5448
|
+
[class.k-disabled]="disabled"
|
|
5433
5449
|
[attr.tabindex]="tabIndex"
|
|
5434
|
-
icon="table-add"
|
|
5435
|
-
[disabled]="disabled"
|
|
5436
5450
|
(click)="openDialog()">
|
|
5437
|
-
|
|
5438
|
-
|
|
5451
|
+
<span
|
|
5452
|
+
class="k-link k-menu-link">
|
|
5453
|
+
<span class="k-icon k-i-table-add"></span>
|
|
5454
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5455
|
+
</span>
|
|
5456
|
+
</div>
|
|
5439
5457
|
</ng-template>
|
|
5440
5458
|
<ng-template #popupGridTemplate>
|
|
5441
5459
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|