@progress/kendo-angular-editor 11.0.0-develop.101 → 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
|
};
|
|
@@ -1881,22 +1881,20 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1881
1881
|
</kendo-editor-format-dropdownlist>
|
|
1882
1882
|
</ng-template>
|
|
1883
1883
|
<ng-template #popupTemplate>
|
|
1884
|
-
<
|
|
1885
|
-
|
|
1884
|
+
<div #formatButton
|
|
1885
|
+
role="menuitem"
|
|
1886
|
+
class="k-item k-menu-item"
|
|
1887
|
+
[class.k-disabled]="disabled"
|
|
1886
1888
|
[tabindex]="tabindex"
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
(click)="openDialog()"
|
|
1895
|
-
>
|
|
1896
|
-
{{ title }}
|
|
1897
|
-
</button>
|
|
1889
|
+
(click)="openDialog()">
|
|
1890
|
+
<span
|
|
1891
|
+
class="k-link k-menu-link">
|
|
1892
|
+
<span class="k-icon k-i-apply-format"></span>
|
|
1893
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
1894
|
+
</span>
|
|
1895
|
+
</div>
|
|
1898
1896
|
</ng-template>
|
|
1899
|
-
`, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type:
|
|
1897
|
+
`, 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"] }] });
|
|
1900
1898
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
1901
1899
|
type: Component,
|
|
1902
1900
|
args: [{
|
|
@@ -1918,20 +1916,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1918
1916
|
</kendo-editor-format-dropdownlist>
|
|
1919
1917
|
</ng-template>
|
|
1920
1918
|
<ng-template #popupTemplate>
|
|
1921
|
-
<
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
kendoButton
|
|
1926
|
-
class="k-overflow-button"
|
|
1927
|
-
[icon]="'apply-format'"
|
|
1928
|
-
[attr.title]="title"
|
|
1929
|
-
[disabled]="disabled"
|
|
1919
|
+
<div #formatButton
|
|
1920
|
+
role="menuitem"
|
|
1921
|
+
class="k-item k-menu-item"
|
|
1922
|
+
[class.k-disabled]="disabled"
|
|
1930
1923
|
[tabindex]="tabindex"
|
|
1931
|
-
(click)="openDialog()"
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1924
|
+
(click)="openDialog()">
|
|
1925
|
+
<span
|
|
1926
|
+
class="k-link k-menu-link">
|
|
1927
|
+
<span class="k-icon k-i-apply-format"></span>
|
|
1928
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
1929
|
+
</span>
|
|
1930
|
+
</div>
|
|
1935
1931
|
</ng-template>
|
|
1936
1932
|
`
|
|
1937
1933
|
}]
|
|
@@ -2218,8 +2214,16 @@ class EditorCommandButton extends EditorCommandBaseDirective {
|
|
|
2218
2214
|
e.preventDefault();
|
|
2219
2215
|
}
|
|
2220
2216
|
onStateChange(toolBarState) {
|
|
2221
|
-
this.button.
|
|
2222
|
-
|
|
2217
|
+
if (this.button.overflows) {
|
|
2218
|
+
setTimeout(() => {
|
|
2219
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2220
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2221
|
+
});
|
|
2222
|
+
}
|
|
2223
|
+
else {
|
|
2224
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2225
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2226
|
+
}
|
|
2223
2227
|
}
|
|
2224
2228
|
}
|
|
2225
2229
|
|
|
@@ -2590,8 +2594,16 @@ class EditorCommandDialog extends EditorCommandBaseDirective {
|
|
|
2590
2594
|
this.editor.openDialog(this.dialog);
|
|
2591
2595
|
}
|
|
2592
2596
|
onStateChange(toolBarState) {
|
|
2593
|
-
this.button.
|
|
2594
|
-
|
|
2597
|
+
if (this.button.overflows) {
|
|
2598
|
+
setTimeout(() => {
|
|
2599
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2600
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2601
|
+
});
|
|
2602
|
+
}
|
|
2603
|
+
else {
|
|
2604
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
2605
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
2606
|
+
}
|
|
2595
2607
|
}
|
|
2596
2608
|
}
|
|
2597
2609
|
|
|
@@ -3067,6 +3079,7 @@ class EditorComponent {
|
|
|
3067
3079
|
if (this.resizable) {
|
|
3068
3080
|
this.normalizeSize();
|
|
3069
3081
|
}
|
|
3082
|
+
this.toolbar.onResize();
|
|
3070
3083
|
}
|
|
3071
3084
|
ngOnChanges(changes) {
|
|
3072
3085
|
if (changes['value'] && this.view) {
|
|
@@ -3639,7 +3652,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
3639
3652
|
</div>
|
|
3640
3653
|
|
|
3641
3654
|
<ng-container #dialogsContainer></ng-container>
|
|
3642
|
-
`, 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]" }] });
|
|
3655
|
+
`, 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]" }] });
|
|
3643
3656
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, decorators: [{
|
|
3644
3657
|
type: Component,
|
|
3645
3658
|
args: [{
|
|
@@ -4680,22 +4693,21 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4680
4693
|
</kendo-editor-fontsize-dropdownlist>
|
|
4681
4694
|
</ng-template>
|
|
4682
4695
|
<ng-template #popupTemplate>
|
|
4683
|
-
<
|
|
4696
|
+
<div #fontSizeButton
|
|
4684
4697
|
tabindex="-1"
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
class="k-overflow-button"
|
|
4689
|
-
[icon]="'font-size'"
|
|
4690
|
-
[attr.title]="title"
|
|
4691
|
-
[disabled]="disabled"
|
|
4698
|
+
role="menuitem"
|
|
4699
|
+
class="k-item k-menu-item"
|
|
4700
|
+
[class.k-disabled]="disabled"
|
|
4692
4701
|
[tabindex]="tabindex"
|
|
4693
|
-
(click)="openDialog()"
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4702
|
+
(click)="openDialog()">
|
|
4703
|
+
<span
|
|
4704
|
+
class="k-link k-menu-link">
|
|
4705
|
+
<span class="k-icon k-i-font-size"></span>
|
|
4706
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4707
|
+
</span>
|
|
4708
|
+
</div>
|
|
4697
4709
|
</ng-template>
|
|
4698
|
-
`, isInline: true, components: [{ type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type:
|
|
4710
|
+
`, 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"] }] });
|
|
4699
4711
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
|
|
4700
4712
|
type: Component,
|
|
4701
4713
|
args: [{
|
|
@@ -4717,20 +4729,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4717
4729
|
</kendo-editor-fontsize-dropdownlist>
|
|
4718
4730
|
</ng-template>
|
|
4719
4731
|
<ng-template #popupTemplate>
|
|
4720
|
-
<
|
|
4732
|
+
<div #fontSizeButton
|
|
4721
4733
|
tabindex="-1"
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
class="k-overflow-button"
|
|
4726
|
-
[icon]="'font-size'"
|
|
4727
|
-
[attr.title]="title"
|
|
4728
|
-
[disabled]="disabled"
|
|
4734
|
+
role="menuitem"
|
|
4735
|
+
class="k-item k-menu-item"
|
|
4736
|
+
[class.k-disabled]="disabled"
|
|
4729
4737
|
[tabindex]="tabindex"
|
|
4730
|
-
(click)="openDialog()"
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4738
|
+
(click)="openDialog()">
|
|
4739
|
+
<span
|
|
4740
|
+
class="k-link k-menu-link">
|
|
4741
|
+
<span class="k-icon k-i-font-size"></span>
|
|
4742
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4743
|
+
</span>
|
|
4744
|
+
</div>
|
|
4734
4745
|
</ng-template>
|
|
4735
4746
|
`
|
|
4736
4747
|
}]
|
|
@@ -4905,22 +4916,21 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4905
4916
|
</kendo-editor-fontfamily-dropdownlist>
|
|
4906
4917
|
</ng-template>
|
|
4907
4918
|
<ng-template #popupTemplate>
|
|
4908
|
-
<
|
|
4919
|
+
<div #fontFamilyButton
|
|
4909
4920
|
tabindex="-1"
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
class="k-overflow-button"
|
|
4914
|
-
[icon]="'font-family'"
|
|
4915
|
-
[attr.title]="title"
|
|
4916
|
-
[disabled]="disabled"
|
|
4921
|
+
role="menuitem"
|
|
4922
|
+
class="k-item k-menu-item"
|
|
4923
|
+
[class.k-disabled]="disabled"
|
|
4917
4924
|
[tabindex]="tabindex"
|
|
4918
|
-
(click)="openDialog()"
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4925
|
+
(click)="openDialog()">
|
|
4926
|
+
<span
|
|
4927
|
+
class="k-link k-menu-link">
|
|
4928
|
+
<span class="k-icon k-i-font-family"></span>
|
|
4929
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4930
|
+
</span>
|
|
4931
|
+
</div>
|
|
4922
4932
|
</ng-template>
|
|
4923
|
-
`, isInline: true, components: [{ type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type:
|
|
4933
|
+
`, 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"] }] });
|
|
4924
4934
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
|
|
4925
4935
|
type: Component,
|
|
4926
4936
|
args: [{
|
|
@@ -4942,20 +4952,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4942
4952
|
</kendo-editor-fontfamily-dropdownlist>
|
|
4943
4953
|
</ng-template>
|
|
4944
4954
|
<ng-template #popupTemplate>
|
|
4945
|
-
<
|
|
4955
|
+
<div #fontFamilyButton
|
|
4946
4956
|
tabindex="-1"
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
class="k-overflow-button"
|
|
4951
|
-
[icon]="'font-family'"
|
|
4952
|
-
[attr.title]="title"
|
|
4953
|
-
[disabled]="disabled"
|
|
4957
|
+
role="menuitem"
|
|
4958
|
+
class="k-item k-menu-item"
|
|
4959
|
+
[class.k-disabled]="disabled"
|
|
4954
4960
|
[tabindex]="tabindex"
|
|
4955
|
-
(click)="openDialog()"
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4961
|
+
(click)="openDialog()">
|
|
4962
|
+
<span
|
|
4963
|
+
class="k-link k-menu-link">
|
|
4964
|
+
<span class="k-icon k-i-font-family"></span>
|
|
4965
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
4966
|
+
</span>
|
|
4967
|
+
</div>
|
|
4959
4968
|
</ng-template>
|
|
4960
4969
|
`
|
|
4961
4970
|
}]
|
|
@@ -5113,10 +5122,10 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5113
5122
|
focus() {
|
|
5114
5123
|
this.tabindex = 0;
|
|
5115
5124
|
if (this.overflows) {
|
|
5116
|
-
this.colorPickerButton
|
|
5125
|
+
this.colorPickerButton?.nativeElement.focus();
|
|
5117
5126
|
}
|
|
5118
5127
|
else {
|
|
5119
|
-
!this.colorPicker.isOpen && this.colorPicker
|
|
5128
|
+
!this.colorPicker.isOpen && this.colorPicker?.focus();
|
|
5120
5129
|
}
|
|
5121
5130
|
}
|
|
5122
5131
|
/**
|
|
@@ -5126,6 +5135,12 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5126
5135
|
this.tabindex = -1;
|
|
5127
5136
|
return false;
|
|
5128
5137
|
}
|
|
5138
|
+
/**
|
|
5139
|
+
* @hidden
|
|
5140
|
+
*/
|
|
5141
|
+
getIconClasses() {
|
|
5142
|
+
return `k-icon k-i-${this.icon}`;
|
|
5143
|
+
}
|
|
5129
5144
|
}
|
|
5130
5145
|
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 });
|
|
5131
5146
|
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: `
|
|
@@ -5149,22 +5164,21 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
5149
5164
|
</kendo-colorpicker>
|
|
5150
5165
|
</ng-template>
|
|
5151
5166
|
<ng-template #popupTemplate>
|
|
5152
|
-
<
|
|
5167
|
+
<div #colorPickerButton
|
|
5153
5168
|
tabindex="-1"
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
class="k-overflow-button"
|
|
5158
|
-
[icon]="icon"
|
|
5159
|
-
[attr.title]="title"
|
|
5160
|
-
[disabled]="disabled"
|
|
5169
|
+
role="menuitem"
|
|
5170
|
+
class="k-item k-menu-item"
|
|
5171
|
+
[class.k-disabled]="disabled"
|
|
5161
5172
|
[tabindex]="tabindex"
|
|
5162
|
-
(click)="openDialog()"
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5173
|
+
(click)="openDialog()">
|
|
5174
|
+
<span
|
|
5175
|
+
class="k-link k-menu-link">
|
|
5176
|
+
<span *ngIf="icon" [ngClass]="getIconClasses()"></span>
|
|
5177
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5178
|
+
</span>
|
|
5179
|
+
</div>
|
|
5166
5180
|
</ng-template>
|
|
5167
|
-
`, 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:
|
|
5181
|
+
`, 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"] }] });
|
|
5168
5182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
5169
5183
|
type: Component,
|
|
5170
5184
|
args: [{
|
|
@@ -5191,20 +5205,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5191
5205
|
</kendo-colorpicker>
|
|
5192
5206
|
</ng-template>
|
|
5193
5207
|
<ng-template #popupTemplate>
|
|
5194
|
-
<
|
|
5208
|
+
<div #colorPickerButton
|
|
5195
5209
|
tabindex="-1"
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
class="k-overflow-button"
|
|
5200
|
-
[icon]="icon"
|
|
5201
|
-
[attr.title]="title"
|
|
5202
|
-
[disabled]="disabled"
|
|
5210
|
+
role="menuitem"
|
|
5211
|
+
class="k-item k-menu-item"
|
|
5212
|
+
[class.k-disabled]="disabled"
|
|
5203
5213
|
[tabindex]="tabindex"
|
|
5204
|
-
(click)="openDialog()"
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5214
|
+
(click)="openDialog()">
|
|
5215
|
+
<span
|
|
5216
|
+
class="k-link k-menu-link">
|
|
5217
|
+
<span *ngIf="icon" [ngClass]="getIconClasses()"></span>
|
|
5218
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5219
|
+
</span>
|
|
5220
|
+
</div>
|
|
5208
5221
|
</ng-template>
|
|
5209
5222
|
`
|
|
5210
5223
|
}]
|
|
@@ -5230,13 +5243,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5230
5243
|
args: ['popupTemplate', { static: true }]
|
|
5231
5244
|
}], element: [{
|
|
5232
5245
|
type: ViewChild,
|
|
5233
|
-
args: ['colorpicker', { read: ElementRef
|
|
5246
|
+
args: ['colorpicker', { read: ElementRef }]
|
|
5234
5247
|
}], colorPicker: [{
|
|
5235
5248
|
type: ViewChild,
|
|
5236
|
-
args: ['colorpicker', { read: ColorPickerComponent
|
|
5249
|
+
args: ['colorpicker', { read: ColorPickerComponent }]
|
|
5237
5250
|
}], colorPickerButton: [{
|
|
5238
5251
|
type: ViewChild,
|
|
5239
|
-
args: ['colorPickerButton', { read: ElementRef
|
|
5252
|
+
args: ['colorPickerButton', { read: ElementRef }]
|
|
5240
5253
|
}] } });
|
|
5241
5254
|
|
|
5242
5255
|
const popupWrapperWidth = '190px';
|
|
@@ -5393,21 +5406,23 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5393
5406
|
></button>
|
|
5394
5407
|
</ng-template>
|
|
5395
5408
|
<ng-template #popupTemplate>
|
|
5396
|
-
<
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
[
|
|
5409
|
+
<div #overflowElement
|
|
5410
|
+
role="menuitem"
|
|
5411
|
+
class="k-item k-menu-item"
|
|
5412
|
+
[class.k-disabled]="disabled"
|
|
5400
5413
|
[attr.tabindex]="tabIndex"
|
|
5401
|
-
icon="table-add"
|
|
5402
|
-
[disabled]="disabled"
|
|
5403
5414
|
(click)="openDialog()">
|
|
5404
|
-
|
|
5405
|
-
|
|
5415
|
+
<span
|
|
5416
|
+
class="k-link k-menu-link">
|
|
5417
|
+
<span class="k-icon k-i-table-add"></span>
|
|
5418
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5419
|
+
</span>
|
|
5420
|
+
</div>
|
|
5406
5421
|
</ng-template>
|
|
5407
5422
|
<ng-template #popupGridTemplate>
|
|
5408
5423
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
5409
5424
|
</ng-template>
|
|
5410
|
-
`, 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"] }] });
|
|
5425
|
+
`, 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"] }] });
|
|
5411
5426
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
5412
5427
|
type: Component,
|
|
5413
5428
|
args: [{
|
|
@@ -5428,16 +5443,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5428
5443
|
></button>
|
|
5429
5444
|
</ng-template>
|
|
5430
5445
|
<ng-template #popupTemplate>
|
|
5431
|
-
<
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
[
|
|
5446
|
+
<div #overflowElement
|
|
5447
|
+
role="menuitem"
|
|
5448
|
+
class="k-item k-menu-item"
|
|
5449
|
+
[class.k-disabled]="disabled"
|
|
5435
5450
|
[attr.tabindex]="tabIndex"
|
|
5436
|
-
icon="table-add"
|
|
5437
|
-
[disabled]="disabled"
|
|
5438
5451
|
(click)="openDialog()">
|
|
5439
|
-
|
|
5440
|
-
|
|
5452
|
+
<span
|
|
5453
|
+
class="k-link k-menu-link">
|
|
5454
|
+
<span class="k-icon k-i-table-add"></span>
|
|
5455
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
5456
|
+
</span>
|
|
5457
|
+
</div>
|
|
5441
5458
|
</ng-template>
|
|
5442
5459
|
<ng-template #popupGridTemplate>
|
|
5443
5460
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
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.103",
|
|
4
4
|
"description": "Kendo UI Editor for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,17 +23,17 @@
|
|
|
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-popup": "11.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-schematics": "11.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-toolbar": "11.0.0-develop.
|
|
26
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.103",
|
|
27
|
+
"@progress/kendo-angular-common": "11.0.0-develop.103",
|
|
28
|
+
"@progress/kendo-angular-dialog": "11.0.0-develop.103",
|
|
29
|
+
"@progress/kendo-angular-dropdowns": "11.0.0-develop.103",
|
|
30
|
+
"@progress/kendo-angular-inputs": "11.0.0-develop.103",
|
|
31
|
+
"@progress/kendo-angular-intl": "11.0.0-develop.103",
|
|
32
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.103",
|
|
33
|
+
"@progress/kendo-angular-layout": "11.0.0-develop.103",
|
|
34
|
+
"@progress/kendo-angular-popup": "11.0.0-develop.103",
|
|
35
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.103",
|
|
36
|
+
"@progress/kendo-angular-toolbar": "11.0.0-develop.103",
|
|
37
37
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
@@ -108,6 +108,10 @@ export declare class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
108
108
|
* @hidden
|
|
109
109
|
*/
|
|
110
110
|
handleKey(): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* @hidden
|
|
113
|
+
*/
|
|
114
|
+
getIconClasses(): string;
|
|
111
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorColorPickerComponent, never>;
|
|
112
116
|
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>;
|
|
113
117
|
}
|