@progress/kendo-angular-editor 11.0.0-develop.104 → 11.0.0-develop.106
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/dialogs/file-link-dialog.component.d.ts +2 -2
- package/dialogs/image-dialog.component.d.ts +2 -2
- package/dialogs/source-dialog.component.d.ts +2 -2
- package/editor.component.d.ts +3 -2
- package/editor.module.d.ts +2 -1
- package/esm2020/dialogs/colorpicker-dialog.component.mjs +26 -34
- package/esm2020/dialogs/file-link-dialog.component.mjs +79 -77
- package/esm2020/dialogs/font-family-dialog.component.mjs +20 -28
- package/esm2020/dialogs/font-size-dialog.component.mjs +20 -28
- package/esm2020/dialogs/format-dialog.component.mjs +20 -28
- package/esm2020/dialogs/image-dialog.component.mjs +74 -63
- package/esm2020/dialogs/insert-table-dialog.component.mjs +6 -14
- package/esm2020/dialogs/source-dialog.component.mjs +9 -7
- package/esm2020/editor.component.mjs +29 -9
- package/esm2020/editor.module.mjs +11 -4
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +8 -5
- package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +8 -5
- package/esm2020/tools/fontsize/editor-fontsize.component.mjs +8 -5
- package/esm2020/tools/format/editor-format.component.mjs +8 -5
- package/esm2020/tools/tables/editor-insert-table-button.component.mjs +8 -5
- package/fesm2015/progress-kendo-angular-editor.mjs +332 -321
- package/fesm2020/progress-kendo-angular-editor.mjs +332 -321
- package/package.json +12 -12
- package/tools/colorpicker/editor-colorpicker.component.d.ts +3 -2
- package/tools/fontfamily/editor-fontfamily.component.d.ts +3 -2
- package/tools/fontsize/editor-fontsize.component.d.ts +3 -2
- package/tools/format/editor-format.component.d.ts +3 -2
- package/tools/tables/editor-insert-table-button.component.d.ts +3 -2
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, Inject, Optional, Component, Input, ViewChild,
|
|
7
|
-
import * as
|
|
6
|
+
import { Injectable, Inject, Optional, Component, Input, ViewChild, Directive, EventEmitter, Output, forwardRef, ElementRef, InjectionToken, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
|
|
7
|
+
import * as i6 from '@angular/forms';
|
|
8
8
|
import { FormControl, Validators, FormGroup, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
9
|
import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
|
|
10
10
|
import { take, map, filter as filter$1, concatMap, takeUntil } from 'rxjs/operators';
|
|
@@ -18,12 +18,14 @@ import * as i1$1 from '@progress/kendo-angular-dialog';
|
|
|
18
18
|
import { DialogContentBase, DialogModule } from '@progress/kendo-angular-dialog';
|
|
19
19
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
20
20
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
21
|
-
import * as i4 from '@progress/kendo-angular-
|
|
21
|
+
import * as i4 from '@progress/kendo-angular-inputs';
|
|
22
|
+
import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule, TextAreaModule } from '@progress/kendo-angular-inputs';
|
|
23
|
+
import * as i4$1 from '@progress/kendo-angular-buttons';
|
|
22
24
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
23
|
-
import * as i3 from '@angular
|
|
25
|
+
import * as i3 from '@progress/kendo-angular-label';
|
|
26
|
+
import { LabelModule } from '@progress/kendo-angular-label';
|
|
27
|
+
import * as i3$1 from '@angular/common';
|
|
24
28
|
import { CommonModule } from '@angular/common';
|
|
25
|
-
import * as i6 from '@progress/kendo-angular-inputs';
|
|
26
|
-
import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
27
29
|
import * as i1$2 from '@progress/kendo-angular-dropdowns';
|
|
28
30
|
import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
29
31
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
@@ -35,7 +37,7 @@ const packageMetadata = {
|
|
|
35
37
|
name: '@progress/kendo-angular-editor',
|
|
36
38
|
productName: 'Kendo UI for Angular',
|
|
37
39
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
38
|
-
publishDate:
|
|
40
|
+
publishDate: 1673542332,
|
|
39
41
|
version: '',
|
|
40
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
41
43
|
};
|
|
@@ -660,7 +662,7 @@ class SourceDialogComponent extends DialogContentBase {
|
|
|
660
662
|
}
|
|
661
663
|
ngAfterViewInit() {
|
|
662
664
|
Promise.resolve(null).then(() => {
|
|
663
|
-
this.textarea.
|
|
665
|
+
this.textarea.focus();
|
|
664
666
|
});
|
|
665
667
|
}
|
|
666
668
|
onCancelAction() {
|
|
@@ -672,7 +674,7 @@ class SourceDialogComponent extends DialogContentBase {
|
|
|
672
674
|
this.editor.view.focus();
|
|
673
675
|
}
|
|
674
676
|
getData() {
|
|
675
|
-
return this.textarea.
|
|
677
|
+
return this.textarea.value;
|
|
676
678
|
}
|
|
677
679
|
setData() {
|
|
678
680
|
this.data = this.indent(this.editor.getSource());
|
|
@@ -693,12 +695,12 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
693
695
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
694
696
|
{{ textFor('viewSource') }}
|
|
695
697
|
</kendo-dialog-titlebar>
|
|
696
|
-
<textarea [value]="data" #textarea
|
|
698
|
+
<kendo-textarea [value]="data" #textarea [style.height.%]="100"></kendo-textarea>
|
|
697
699
|
<kendo-dialog-actions>
|
|
698
700
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
699
701
|
<button kendoButton (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogUpdate') }}</button>
|
|
700
702
|
</kendo-dialog-actions>
|
|
701
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
703
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i4.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
702
704
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SourceDialogComponent, decorators: [{
|
|
703
705
|
type: Component,
|
|
704
706
|
args: [{
|
|
@@ -706,7 +708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
706
708
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
707
709
|
{{ textFor('viewSource') }}
|
|
708
710
|
</kendo-dialog-titlebar>
|
|
709
|
-
<textarea [value]="data" #textarea
|
|
711
|
+
<kendo-textarea [value]="data" #textarea [style.height.%]="100"></kendo-textarea>
|
|
710
712
|
<kendo-dialog-actions>
|
|
711
713
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
712
714
|
<button kendoButton (click)="onConfirmAction()" [primary]="true">{{ textFor('dialogUpdate') }}</button>
|
|
@@ -753,7 +755,7 @@ class ImageDialogComponent extends DialogContentBase {
|
|
|
753
755
|
}
|
|
754
756
|
ngAfterViewInit() {
|
|
755
757
|
Promise.resolve(null).then(() => {
|
|
756
|
-
this.srcInput.
|
|
758
|
+
this.srcInput.focus();
|
|
757
759
|
});
|
|
758
760
|
}
|
|
759
761
|
onCancelAction() {
|
|
@@ -791,46 +793,50 @@ class ImageDialogComponent extends DialogContentBase {
|
|
|
791
793
|
}
|
|
792
794
|
}
|
|
793
795
|
ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
794
|
-
ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true
|
|
796
|
+
ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
795
797
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
796
798
|
{{ textFor('insertImage') }}
|
|
797
799
|
</kendo-dialog-titlebar>
|
|
798
|
-
<div class="k-
|
|
799
|
-
<div class="k-
|
|
800
|
-
<div class="k-
|
|
801
|
-
<
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
<
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
800
|
+
<div class="k-form k-form-md k-form-horizontal">
|
|
801
|
+
<div class="k-form-field">
|
|
802
|
+
<div class="k-form-label">
|
|
803
|
+
<kendo-label [for]="srcInput" [text]="textFor('imageWebAddress')"></kendo-label>
|
|
804
|
+
</div>
|
|
805
|
+
<div class="k-form-field-wrap">
|
|
806
|
+
<kendo-textbox #srcInput [formControl]="src"></kendo-textbox>
|
|
807
|
+
</div>
|
|
808
|
+
</div>
|
|
809
|
+
<div class="k-form-field">
|
|
810
|
+
<div class="k-form-label">
|
|
811
|
+
<kendo-label [for]="altTextInput" [text]="textFor('imageAltText')"></kendo-label>
|
|
812
|
+
</div>
|
|
813
|
+
<div class="k-form-field-wrap">
|
|
814
|
+
<kendo-textbox #altTextInput [formControl]="alt"></kendo-textbox>
|
|
815
|
+
</div>
|
|
816
|
+
</div>
|
|
817
|
+
<div class="k-form-field">
|
|
818
|
+
<div class="k-form-label">
|
|
819
|
+
<kendo-label [for]="widthInput" [text]="textFor('imageWidth')"></kendo-label>
|
|
820
|
+
</div>
|
|
821
|
+
<div class="k-form-field-wrap">
|
|
822
|
+
<kendo-textbox #widthInput [formControl]="width"></kendo-textbox>
|
|
823
|
+
</div>
|
|
824
|
+
</div>
|
|
825
|
+
<div class="k-form-field">
|
|
826
|
+
<div class="k-form-label">
|
|
827
|
+
<kendo-label [for]="heightInput" [text]="textFor('imageHeight')"></kendo-label>
|
|
828
|
+
</div>
|
|
829
|
+
<div class="k-form-field-wrap">
|
|
830
|
+
<kendo-textbox #heightInput [formControl]="height"></kendo-textbox>
|
|
825
831
|
</div>
|
|
826
832
|
</div>
|
|
827
833
|
</div>
|
|
828
|
-
<kendo-dialog-actions>
|
|
834
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
829
835
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
830
836
|
<button kendoButton [disabled]="imageData.invalid"
|
|
831
837
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogInsert') }}</button>
|
|
832
838
|
</kendo-dialog-actions>
|
|
833
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }], directives: [{ type:
|
|
839
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional"], exportAs: ["kendoLabel"] }, { type: i4.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }], directives: [{ type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
834
840
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ImageDialogComponent, decorators: [{
|
|
835
841
|
type: Component,
|
|
836
842
|
args: [{
|
|
@@ -838,37 +844,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
838
844
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
839
845
|
{{ textFor('insertImage') }}
|
|
840
846
|
</kendo-dialog-titlebar>
|
|
841
|
-
<div class="k-
|
|
842
|
-
<div class="k-
|
|
843
|
-
<div class="k-
|
|
844
|
-
<
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
<
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
847
|
+
<div class="k-form k-form-md k-form-horizontal">
|
|
848
|
+
<div class="k-form-field">
|
|
849
|
+
<div class="k-form-label">
|
|
850
|
+
<kendo-label [for]="srcInput" [text]="textFor('imageWebAddress')"></kendo-label>
|
|
851
|
+
</div>
|
|
852
|
+
<div class="k-form-field-wrap">
|
|
853
|
+
<kendo-textbox #srcInput [formControl]="src"></kendo-textbox>
|
|
854
|
+
</div>
|
|
855
|
+
</div>
|
|
856
|
+
<div class="k-form-field">
|
|
857
|
+
<div class="k-form-label">
|
|
858
|
+
<kendo-label [for]="altTextInput" [text]="textFor('imageAltText')"></kendo-label>
|
|
859
|
+
</div>
|
|
860
|
+
<div class="k-form-field-wrap">
|
|
861
|
+
<kendo-textbox #altTextInput [formControl]="alt"></kendo-textbox>
|
|
862
|
+
</div>
|
|
863
|
+
</div>
|
|
864
|
+
<div class="k-form-field">
|
|
865
|
+
<div class="k-form-label">
|
|
866
|
+
<kendo-label [for]="widthInput" [text]="textFor('imageWidth')"></kendo-label>
|
|
867
|
+
</div>
|
|
868
|
+
<div class="k-form-field-wrap">
|
|
869
|
+
<kendo-textbox #widthInput [formControl]="width"></kendo-textbox>
|
|
870
|
+
</div>
|
|
871
|
+
</div>
|
|
872
|
+
<div class="k-form-field">
|
|
873
|
+
<div class="k-form-label">
|
|
874
|
+
<kendo-label [for]="heightInput" [text]="textFor('imageHeight')"></kendo-label>
|
|
875
|
+
</div>
|
|
876
|
+
<div class="k-form-field-wrap">
|
|
877
|
+
<kendo-textbox #heightInput [formControl]="height"></kendo-textbox>
|
|
868
878
|
</div>
|
|
869
879
|
</div>
|
|
870
880
|
</div>
|
|
871
|
-
<kendo-dialog-actions>
|
|
881
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
872
882
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
873
883
|
<button kendoButton [disabled]="imageData.invalid"
|
|
874
884
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogInsert') }}</button>
|
|
@@ -879,7 +889,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
879
889
|
type: Input
|
|
880
890
|
}], srcInput: [{
|
|
881
891
|
type: ViewChild,
|
|
882
|
-
args: ['srcInput'
|
|
892
|
+
args: ['srcInput']
|
|
883
893
|
}] } });
|
|
884
894
|
|
|
885
895
|
/**
|
|
@@ -898,7 +908,7 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
898
908
|
}
|
|
899
909
|
ngAfterViewInit() {
|
|
900
910
|
Promise.resolve(null).then(() => {
|
|
901
|
-
this.hrefInput.
|
|
911
|
+
this.hrefInput.focus();
|
|
902
912
|
});
|
|
903
913
|
}
|
|
904
914
|
onCancelAction() {
|
|
@@ -971,52 +981,52 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
971
981
|
}
|
|
972
982
|
}
|
|
973
983
|
FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
974
|
-
FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true
|
|
984
|
+
FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
975
985
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
976
986
|
{{ titleText }}
|
|
977
987
|
</kendo-dialog-titlebar>
|
|
978
|
-
<
|
|
979
|
-
<div class="k-
|
|
980
|
-
<div class="k-
|
|
981
|
-
<
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
<div class="k-edit-field">
|
|
986
|
-
<input #hrefInput formControlName="href" type="text" class="k-textbox k-input k-rounded-md" />
|
|
987
|
-
</div>
|
|
988
|
-
|
|
989
|
-
<div class="k-edit-label">
|
|
990
|
-
<label (click)="textInput.focus()">{{ textForWithPrefix('Text') }}</label>
|
|
991
|
-
</div>
|
|
992
|
-
<div class="k-edit-field">
|
|
993
|
-
<input #textInput formControlName="text" type="text" class="k-textbox k-input k-rounded-md" />
|
|
994
|
-
</div>
|
|
995
|
-
|
|
996
|
-
<div class="k-edit-label">
|
|
997
|
-
<label (click)="titleInput.focus()">{{ textForWithPrefix('Title') }}</label>
|
|
998
|
-
</div>
|
|
999
|
-
<div class="k-edit-field">
|
|
1000
|
-
<input #titleInput formControlName="title" type="text" class="k-textbox k-input k-rounded-md" />
|
|
1001
|
-
</div>
|
|
1002
|
-
<ng-container *ngIf="command === 'createLink'">
|
|
1003
|
-
<div class="k-edit-label"></div>
|
|
1004
|
-
<div class="k-edit-field">
|
|
1005
|
-
<input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
|
|
1006
|
-
<label class="k-checkbox-label" for="k-target-blank">{{ textForWithPrefix('OpenInNewWindow') }}</label>
|
|
1007
|
-
</div>
|
|
1008
|
-
</ng-container>
|
|
1009
|
-
</form>
|
|
988
|
+
<form class="k-form k-form-md k-form-horizontal" novalidate [formGroup]="linkForm">
|
|
989
|
+
<div class="k-form-field">
|
|
990
|
+
<div class="k-form-label">
|
|
991
|
+
<kendo-label [for]="hrefInput" [text]="textForWithPrefix('WebAddress')"></kendo-label>
|
|
992
|
+
</div>
|
|
993
|
+
<div class="k-form-field-wrap">
|
|
994
|
+
<kendo-textbox #hrefInput formControlName="href"></kendo-textbox>
|
|
1010
995
|
</div>
|
|
1011
996
|
</div>
|
|
1012
|
-
|
|
1013
|
-
|
|
997
|
+
<div class="k-form-field">
|
|
998
|
+
<div class="k-form-label">
|
|
999
|
+
<kendo-label [for]="textInput" [text]="textForWithPrefix('Text')"></kendo-label>
|
|
1000
|
+
</div>
|
|
1001
|
+
<div class="k-form-field-wrap">
|
|
1002
|
+
<kendo-textbox #textInput formControlName="text"></kendo-textbox>
|
|
1003
|
+
</div>
|
|
1004
|
+
</div>
|
|
1005
|
+
<div class="k-form-field">
|
|
1006
|
+
<div class="k-form-label">
|
|
1007
|
+
<kendo-label [for]="titleInput" [text]="textForWithPrefix('Title')"></kendo-label>
|
|
1008
|
+
</div>
|
|
1009
|
+
<div class="k-form-field-wrap">
|
|
1010
|
+
<kendo-textbox #titleInput formControlName="title"></kendo-textbox>
|
|
1011
|
+
</div>
|
|
1012
|
+
</div>
|
|
1013
|
+
<ng-container *ngIf="command === 'createLink'">
|
|
1014
|
+
<div class="k-form-field">
|
|
1015
|
+
<div class="k-form-label"></div>
|
|
1016
|
+
<div class="k-form-field-wrap">
|
|
1017
|
+
<input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
|
|
1018
|
+
<label class="k-checkbox-label" for="k-target-blank" [style.display]="'inline'">{{ textForWithPrefix('OpenInNewWindow') }}</label>
|
|
1019
|
+
</div>
|
|
1020
|
+
</div>
|
|
1021
|
+
</ng-container>
|
|
1022
|
+
</form>
|
|
1023
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
1014
1024
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
1015
1025
|
<button kendoButton [disabled]="linkForm.invalid" (click)="onConfirmAction()" [primary]="true">
|
|
1016
1026
|
{{ textFor('dialogInsert') }}
|
|
1017
1027
|
</button>
|
|
1018
1028
|
</kendo-dialog-actions>
|
|
1019
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }], directives: [{ type:
|
|
1029
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: i3.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional"], exportAs: ["kendoLabel"] }, { type: i4.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }], directives: [{ type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i4.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i3.LabelDirective, selector: "label[for]", inputs: ["for"] }] });
|
|
1020
1030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
|
|
1021
1031
|
type: Component,
|
|
1022
1032
|
args: [{
|
|
@@ -1024,42 +1034,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1024
1034
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1025
1035
|
{{ titleText }}
|
|
1026
1036
|
</kendo-dialog-titlebar>
|
|
1027
|
-
<
|
|
1028
|
-
<div class="k-
|
|
1029
|
-
<div class="k-
|
|
1030
|
-
<
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
<div class="k-edit-field">
|
|
1035
|
-
<input #hrefInput formControlName="href" type="text" class="k-textbox k-input k-rounded-md" />
|
|
1036
|
-
</div>
|
|
1037
|
-
|
|
1038
|
-
<div class="k-edit-label">
|
|
1039
|
-
<label (click)="textInput.focus()">{{ textForWithPrefix('Text') }}</label>
|
|
1040
|
-
</div>
|
|
1041
|
-
<div class="k-edit-field">
|
|
1042
|
-
<input #textInput formControlName="text" type="text" class="k-textbox k-input k-rounded-md" />
|
|
1043
|
-
</div>
|
|
1044
|
-
|
|
1045
|
-
<div class="k-edit-label">
|
|
1046
|
-
<label (click)="titleInput.focus()">{{ textForWithPrefix('Title') }}</label>
|
|
1047
|
-
</div>
|
|
1048
|
-
<div class="k-edit-field">
|
|
1049
|
-
<input #titleInput formControlName="title" type="text" class="k-textbox k-input k-rounded-md" />
|
|
1050
|
-
</div>
|
|
1051
|
-
<ng-container *ngIf="command === 'createLink'">
|
|
1052
|
-
<div class="k-edit-label"></div>
|
|
1053
|
-
<div class="k-edit-field">
|
|
1054
|
-
<input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
|
|
1055
|
-
<label class="k-checkbox-label" for="k-target-blank">{{ textForWithPrefix('OpenInNewWindow') }}</label>
|
|
1056
|
-
</div>
|
|
1057
|
-
</ng-container>
|
|
1058
|
-
</form>
|
|
1037
|
+
<form class="k-form k-form-md k-form-horizontal" novalidate [formGroup]="linkForm">
|
|
1038
|
+
<div class="k-form-field">
|
|
1039
|
+
<div class="k-form-label">
|
|
1040
|
+
<kendo-label [for]="hrefInput" [text]="textForWithPrefix('WebAddress')"></kendo-label>
|
|
1041
|
+
</div>
|
|
1042
|
+
<div class="k-form-field-wrap">
|
|
1043
|
+
<kendo-textbox #hrefInput formControlName="href"></kendo-textbox>
|
|
1059
1044
|
</div>
|
|
1060
1045
|
</div>
|
|
1061
|
-
|
|
1062
|
-
|
|
1046
|
+
<div class="k-form-field">
|
|
1047
|
+
<div class="k-form-label">
|
|
1048
|
+
<kendo-label [for]="textInput" [text]="textForWithPrefix('Text')"></kendo-label>
|
|
1049
|
+
</div>
|
|
1050
|
+
<div class="k-form-field-wrap">
|
|
1051
|
+
<kendo-textbox #textInput formControlName="text"></kendo-textbox>
|
|
1052
|
+
</div>
|
|
1053
|
+
</div>
|
|
1054
|
+
<div class="k-form-field">
|
|
1055
|
+
<div class="k-form-label">
|
|
1056
|
+
<kendo-label [for]="titleInput" [text]="textForWithPrefix('Title')"></kendo-label>
|
|
1057
|
+
</div>
|
|
1058
|
+
<div class="k-form-field-wrap">
|
|
1059
|
+
<kendo-textbox #titleInput formControlName="title"></kendo-textbox>
|
|
1060
|
+
</div>
|
|
1061
|
+
</div>
|
|
1062
|
+
<ng-container *ngIf="command === 'createLink'">
|
|
1063
|
+
<div class="k-form-field">
|
|
1064
|
+
<div class="k-form-label"></div>
|
|
1065
|
+
<div class="k-form-field-wrap">
|
|
1066
|
+
<input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
|
|
1067
|
+
<label class="k-checkbox-label" for="k-target-blank" [style.display]="'inline'">{{ textForWithPrefix('OpenInNewWindow') }}</label>
|
|
1068
|
+
</div>
|
|
1069
|
+
</div>
|
|
1070
|
+
</ng-container>
|
|
1071
|
+
</form>
|
|
1072
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
1063
1073
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
1064
1074
|
<button kendoButton [disabled]="linkForm.invalid" (click)="onConfirmAction()" [primary]="true">
|
|
1065
1075
|
{{ textFor('dialogInsert') }}
|
|
@@ -1073,7 +1083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1073
1083
|
type: Input
|
|
1074
1084
|
}], hrefInput: [{
|
|
1075
1085
|
type: ViewChild,
|
|
1076
|
-
args: ['hrefInput'
|
|
1086
|
+
args: ['hrefInput']
|
|
1077
1087
|
}] } });
|
|
1078
1088
|
|
|
1079
1089
|
/**
|
|
@@ -1553,7 +1563,7 @@ FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1553
1563
|
</ng-container>
|
|
1554
1564
|
</ng-template>
|
|
1555
1565
|
</kendo-dropdownlist>
|
|
1556
|
-
`, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
1566
|
+
`, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
1557
1567
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
|
|
1558
1568
|
type: Component,
|
|
1559
1569
|
args: [{
|
|
@@ -1675,26 +1685,22 @@ FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1675
1685
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1676
1686
|
{{ textFor('format') }}
|
|
1677
1687
|
</kendo-dialog-titlebar>
|
|
1678
|
-
<div
|
|
1679
|
-
<
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
>
|
|
1688
|
-
</kendo-editor-format-dropdownlist>
|
|
1689
|
-
</div>
|
|
1690
|
-
</div>
|
|
1688
|
+
<div [style.text-align]="'center'">
|
|
1689
|
+
<kendo-editor-format-dropdownlist
|
|
1690
|
+
#formatDropDownList
|
|
1691
|
+
[defaultItem]="defaultItem"
|
|
1692
|
+
[data]="data"
|
|
1693
|
+
[(value)]="value"
|
|
1694
|
+
[itemDisabled]="itemDisabled"
|
|
1695
|
+
>
|
|
1696
|
+
</kendo-editor-format-dropdownlist>
|
|
1691
1697
|
</div>
|
|
1692
|
-
<kendo-dialog-actions>
|
|
1698
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
1693
1699
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
1694
1700
|
<button kendoButton
|
|
1695
1701
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
1696
1702
|
</kendo-dialog-actions>
|
|
1697
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
1703
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
1698
1704
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormatDialogComponent, decorators: [{
|
|
1699
1705
|
type: Component,
|
|
1700
1706
|
args: [{
|
|
@@ -1702,21 +1708,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1702
1708
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1703
1709
|
{{ textFor('format') }}
|
|
1704
1710
|
</kendo-dialog-titlebar>
|
|
1705
|
-
<div
|
|
1706
|
-
<
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
>
|
|
1715
|
-
</kendo-editor-format-dropdownlist>
|
|
1716
|
-
</div>
|
|
1717
|
-
</div>
|
|
1711
|
+
<div [style.text-align]="'center'">
|
|
1712
|
+
<kendo-editor-format-dropdownlist
|
|
1713
|
+
#formatDropDownList
|
|
1714
|
+
[defaultItem]="defaultItem"
|
|
1715
|
+
[data]="data"
|
|
1716
|
+
[(value)]="value"
|
|
1717
|
+
[itemDisabled]="itemDisabled"
|
|
1718
|
+
>
|
|
1719
|
+
</kendo-editor-format-dropdownlist>
|
|
1718
1720
|
</div>
|
|
1719
|
-
<kendo-dialog-actions>
|
|
1721
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
1720
1722
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
1721
1723
|
<button kendoButton
|
|
1722
1724
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
@@ -1742,11 +1744,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1742
1744
|
* ```
|
|
1743
1745
|
*/
|
|
1744
1746
|
class EditorFormatComponent extends ToolBarToolComponent {
|
|
1745
|
-
constructor(dialogService, localization, providerService, toolsService) {
|
|
1747
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
1746
1748
|
super();
|
|
1747
1749
|
this.dialogService = dialogService;
|
|
1748
1750
|
this.localization = localization;
|
|
1749
1751
|
this.toolsService = toolsService;
|
|
1752
|
+
this.renderer = renderer;
|
|
1750
1753
|
this.disabled = false;
|
|
1751
1754
|
this.tabindex = -1;
|
|
1752
1755
|
/**
|
|
@@ -1822,10 +1825,12 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
1822
1825
|
openDialog() {
|
|
1823
1826
|
const dialogSettings = {
|
|
1824
1827
|
appendTo: this.editor.dialogContainer,
|
|
1825
|
-
content: FormatDialogComponent
|
|
1828
|
+
content: FormatDialogComponent,
|
|
1829
|
+
width: 400
|
|
1826
1830
|
};
|
|
1827
1831
|
this.editor.toolbar.toggle(false);
|
|
1828
1832
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
1833
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
1829
1834
|
dialogContent.setData({
|
|
1830
1835
|
editor: this.editor,
|
|
1831
1836
|
data: this.data,
|
|
@@ -1860,7 +1865,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
1860
1865
|
return false;
|
|
1861
1866
|
}
|
|
1862
1867
|
}
|
|
1863
|
-
EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1868
|
+
EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1864
1869
|
EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
1865
1870
|
<ng-template #toolbarTemplate>
|
|
1866
1871
|
<kendo-editor-format-dropdownlist
|
|
@@ -1890,7 +1895,7 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1890
1895
|
</span>
|
|
1891
1896
|
</div>
|
|
1892
1897
|
</ng-template>
|
|
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"] }] });
|
|
1898
|
+
`, 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"] }] });
|
|
1894
1899
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
1895
1900
|
type: Component,
|
|
1896
1901
|
args: [{
|
|
@@ -1927,7 +1932,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1927
1932
|
</ng-template>
|
|
1928
1933
|
`
|
|
1929
1934
|
}]
|
|
1930
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
|
|
1935
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
|
|
1931
1936
|
type: Input
|
|
1932
1937
|
}], valueChange: [{
|
|
1933
1938
|
type: Output
|
|
@@ -2726,7 +2731,7 @@ const getPasteCleanupAttributes = (config) => {
|
|
|
2726
2731
|
* Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
|
|
2727
2732
|
*/
|
|
2728
2733
|
class EditorComponent {
|
|
2729
|
-
constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService) {
|
|
2734
|
+
constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
|
|
2730
2735
|
this.dialogService = dialogService;
|
|
2731
2736
|
this.localization = localization;
|
|
2732
2737
|
this.cdr = cdr;
|
|
@@ -2734,6 +2739,7 @@ class EditorComponent {
|
|
|
2734
2739
|
this.element = element;
|
|
2735
2740
|
this.providerService = providerService;
|
|
2736
2741
|
this.toolsService = toolsService;
|
|
2742
|
+
this.renderer = renderer;
|
|
2737
2743
|
/**
|
|
2738
2744
|
* If set to `false`, the Editor will run in style non-encapsulated mode. This means
|
|
2739
2745
|
* that the styles of the page will be persisted in the Editor and its content will be affected by them.
|
|
@@ -3077,6 +3083,9 @@ class EditorComponent {
|
|
|
3077
3083
|
if (this.resizable) {
|
|
3078
3084
|
this.normalizeSize();
|
|
3079
3085
|
}
|
|
3086
|
+
if (this.userToolBarComponent) {
|
|
3087
|
+
this.renderer.addClass(this.userToolBarComponent.element.nativeElement, 'k-editor-toolbar');
|
|
3088
|
+
}
|
|
3080
3089
|
this.toolbar.onResize();
|
|
3081
3090
|
}
|
|
3082
3091
|
ngOnChanges(changes) {
|
|
@@ -3192,13 +3201,16 @@ class EditorComponent {
|
|
|
3192
3201
|
openDialog(dialogName) {
|
|
3193
3202
|
const editorDialogs = {
|
|
3194
3203
|
createLink: {
|
|
3195
|
-
content: FileLinkDialogComponent
|
|
3204
|
+
content: FileLinkDialogComponent,
|
|
3205
|
+
width: 400
|
|
3196
3206
|
},
|
|
3197
3207
|
insertFile: {
|
|
3198
|
-
content: FileLinkDialogComponent
|
|
3208
|
+
content: FileLinkDialogComponent,
|
|
3209
|
+
width: 400
|
|
3199
3210
|
},
|
|
3200
3211
|
insertImage: {
|
|
3201
|
-
content: ImageDialogComponent
|
|
3212
|
+
content: ImageDialogComponent,
|
|
3213
|
+
width: 400
|
|
3202
3214
|
},
|
|
3203
3215
|
viewSource: {
|
|
3204
3216
|
content: SourceDialogComponent,
|
|
@@ -3212,6 +3224,7 @@ class EditorComponent {
|
|
|
3212
3224
|
const dialog = Object.assign({ appendTo: this.dialogContainer }, editorDialogs[dialogName]);
|
|
3213
3225
|
this.toolbar.toggle(false);
|
|
3214
3226
|
const dialogContent = this.dialogService.open(dialog).content.instance;
|
|
3227
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
3215
3228
|
if (dialogName === 'createLink' || dialogName === 'insertFile') {
|
|
3216
3229
|
dialogContent.command = dialogName;
|
|
3217
3230
|
}
|
|
@@ -3479,7 +3492,7 @@ class EditorComponent {
|
|
|
3479
3492
|
}
|
|
3480
3493
|
;
|
|
3481
3494
|
}
|
|
3482
|
-
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, deps: [{ token: i1$1.DialogService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3495
|
+
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, deps: [{ token: i1$1.DialogService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
3483
3496
|
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
3484
3497
|
EditorLocalizationService,
|
|
3485
3498
|
ProviderService,
|
|
@@ -3617,7 +3630,13 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
3617
3630
|
>
|
|
3618
3631
|
</ng-container>
|
|
3619
3632
|
<ng-content select="kendo-toolbar"></ng-content>
|
|
3620
|
-
<kendo-toolbar
|
|
3633
|
+
<kendo-toolbar
|
|
3634
|
+
#defaultToolbar
|
|
3635
|
+
*ngIf="!userToolBarElement"
|
|
3636
|
+
class="k-editor-toolbar"
|
|
3637
|
+
[overflow]="true"
|
|
3638
|
+
[tabindex]="readonly ? -1 : 0"
|
|
3639
|
+
>
|
|
3621
3640
|
<kendo-toolbar-buttongroup>
|
|
3622
3641
|
<kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
|
|
3623
3642
|
<kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
|
|
@@ -3650,7 +3669,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
3650
3669
|
</div>
|
|
3651
3670
|
|
|
3652
3671
|
<ng-container #dialogsContainer></ng-container>
|
|
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]" }] });
|
|
3672
|
+
`, 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$1.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]" }] });
|
|
3654
3673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, decorators: [{
|
|
3655
3674
|
type: Component,
|
|
3656
3675
|
args: [{
|
|
@@ -3793,7 +3812,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3793
3812
|
>
|
|
3794
3813
|
</ng-container>
|
|
3795
3814
|
<ng-content select="kendo-toolbar"></ng-content>
|
|
3796
|
-
<kendo-toolbar
|
|
3815
|
+
<kendo-toolbar
|
|
3816
|
+
#defaultToolbar
|
|
3817
|
+
*ngIf="!userToolBarElement"
|
|
3818
|
+
class="k-editor-toolbar"
|
|
3819
|
+
[overflow]="true"
|
|
3820
|
+
[tabindex]="readonly ? -1 : 0"
|
|
3821
|
+
>
|
|
3797
3822
|
<kendo-toolbar-buttongroup>
|
|
3798
3823
|
<kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
|
|
3799
3824
|
<kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
|
|
@@ -3828,7 +3853,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3828
3853
|
<ng-container #dialogsContainer></ng-container>
|
|
3829
3854
|
`
|
|
3830
3855
|
}]
|
|
3831
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { value: [{
|
|
3856
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
3832
3857
|
type: Input
|
|
3833
3858
|
}], disabled: [{
|
|
3834
3859
|
type: Input
|
|
@@ -3960,29 +3985,25 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3960
3985
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
3961
3986
|
{{ textFor(editorCommand) }}
|
|
3962
3987
|
</kendo-dialog-titlebar>
|
|
3963
|
-
<div
|
|
3964
|
-
<
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
>
|
|
3976
|
-
</kendo-colorpicker>
|
|
3977
|
-
</div>
|
|
3978
|
-
</div>
|
|
3988
|
+
<div [style.text-align]="'center'">
|
|
3989
|
+
<kendo-colorpicker
|
|
3990
|
+
#colorpicker
|
|
3991
|
+
[views]="views"
|
|
3992
|
+
[format]="'hex'"
|
|
3993
|
+
[attr.title]="title"
|
|
3994
|
+
[icon]="icon"
|
|
3995
|
+
[(value)]="value"
|
|
3996
|
+
[paletteSettings]="paletteSettings"
|
|
3997
|
+
(activeColorClick)="handleActiveColorClick($event)"
|
|
3998
|
+
>
|
|
3999
|
+
</kendo-colorpicker>
|
|
3979
4000
|
</div>
|
|
3980
|
-
<kendo-dialog-actions>
|
|
4001
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
3981
4002
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
3982
4003
|
<button kendoButton
|
|
3983
4004
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
3984
4005
|
</kendo-dialog-actions>
|
|
3985
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type:
|
|
4006
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { 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: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
3986
4007
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
|
|
3987
4008
|
type: Component,
|
|
3988
4009
|
args: [{
|
|
@@ -3990,24 +4011,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3990
4011
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
3991
4012
|
{{ textFor(editorCommand) }}
|
|
3992
4013
|
</kendo-dialog-titlebar>
|
|
3993
|
-
<div
|
|
3994
|
-
<
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
>
|
|
4006
|
-
</kendo-colorpicker>
|
|
4007
|
-
</div>
|
|
4008
|
-
</div>
|
|
4014
|
+
<div [style.text-align]="'center'">
|
|
4015
|
+
<kendo-colorpicker
|
|
4016
|
+
#colorpicker
|
|
4017
|
+
[views]="views"
|
|
4018
|
+
[format]="'hex'"
|
|
4019
|
+
[attr.title]="title"
|
|
4020
|
+
[icon]="icon"
|
|
4021
|
+
[(value)]="value"
|
|
4022
|
+
[paletteSettings]="paletteSettings"
|
|
4023
|
+
(activeColorClick)="handleActiveColorClick($event)"
|
|
4024
|
+
>
|
|
4025
|
+
</kendo-colorpicker>
|
|
4009
4026
|
</div>
|
|
4010
|
-
<kendo-dialog-actions>
|
|
4027
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4011
4028
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4012
4029
|
<button kendoButton
|
|
4013
4030
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
@@ -4059,7 +4076,7 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
4059
4076
|
</span>
|
|
4060
4077
|
</ng-template>
|
|
4061
4078
|
</kendo-dropdownlist>
|
|
4062
|
-
`, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4079
|
+
`, isInline: true, components: [{ type: i1$2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4063
4080
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
|
|
4064
4081
|
type: Component,
|
|
4065
4082
|
args: [{
|
|
@@ -4153,26 +4170,22 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4153
4170
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4154
4171
|
{{ textFor('fontFamily') }}
|
|
4155
4172
|
</kendo-dialog-titlebar>
|
|
4156
|
-
<div
|
|
4157
|
-
<
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
>
|
|
4166
|
-
</kendo-editor-fontfamily-dropdownlist>
|
|
4167
|
-
</div>
|
|
4168
|
-
</div>
|
|
4173
|
+
<div [style.text-align]="'center'">
|
|
4174
|
+
<kendo-editor-fontfamily-dropdownlist
|
|
4175
|
+
#fontFamilyDropDownList
|
|
4176
|
+
[defaultItem]="defaultItem"
|
|
4177
|
+
[data]="data"
|
|
4178
|
+
[(value)]="value"
|
|
4179
|
+
[itemDisabled]="itemDisabled"
|
|
4180
|
+
>
|
|
4181
|
+
</kendo-editor-fontfamily-dropdownlist>
|
|
4169
4182
|
</div>
|
|
4170
|
-
<kendo-dialog-actions>
|
|
4183
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4171
4184
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4172
4185
|
<button kendoButton
|
|
4173
4186
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
4174
4187
|
</kendo-dialog-actions>
|
|
4175
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
4188
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
4176
4189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
|
|
4177
4190
|
type: Component,
|
|
4178
4191
|
args: [{
|
|
@@ -4180,21 +4193,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4180
4193
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4181
4194
|
{{ textFor('fontFamily') }}
|
|
4182
4195
|
</kendo-dialog-titlebar>
|
|
4183
|
-
<div
|
|
4184
|
-
<
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
>
|
|
4193
|
-
</kendo-editor-fontfamily-dropdownlist>
|
|
4194
|
-
</div>
|
|
4195
|
-
</div>
|
|
4196
|
+
<div [style.text-align]="'center'">
|
|
4197
|
+
<kendo-editor-fontfamily-dropdownlist
|
|
4198
|
+
#fontFamilyDropDownList
|
|
4199
|
+
[defaultItem]="defaultItem"
|
|
4200
|
+
[data]="data"
|
|
4201
|
+
[(value)]="value"
|
|
4202
|
+
[itemDisabled]="itemDisabled"
|
|
4203
|
+
>
|
|
4204
|
+
</kendo-editor-fontfamily-dropdownlist>
|
|
4196
4205
|
</div>
|
|
4197
|
-
<kendo-dialog-actions>
|
|
4206
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4198
4207
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4199
4208
|
<button kendoButton
|
|
4200
4209
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
@@ -4263,7 +4272,7 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4263
4272
|
<button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
|
|
4264
4273
|
</div>
|
|
4265
4274
|
-->
|
|
4266
|
-
`, isInline: true, directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4275
|
+
`, isInline: true, directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4267
4276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupTableGridComponent, decorators: [{
|
|
4268
4277
|
type: Component,
|
|
4269
4278
|
args: [{
|
|
@@ -4321,17 +4330,13 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4321
4330
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4322
4331
|
{{ textFor('insertTable') }}
|
|
4323
4332
|
</kendo-dialog-titlebar>
|
|
4324
|
-
<div
|
|
4325
|
-
<
|
|
4326
|
-
<div class="k-ct-popup k-window-content" [style.text-align]="'center'">
|
|
4327
|
-
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
4328
|
-
</div>
|
|
4329
|
-
</div>
|
|
4333
|
+
<div [style.text-align]="'center'">
|
|
4334
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
4330
4335
|
</div>
|
|
4331
|
-
<kendo-dialog-actions>
|
|
4336
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4332
4337
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4333
4338
|
</kendo-dialog-actions>
|
|
4334
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
4339
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
4335
4340
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
|
|
4336
4341
|
type: Component,
|
|
4337
4342
|
args: [{
|
|
@@ -4339,14 +4344,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4339
4344
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4340
4345
|
{{ textFor('insertTable') }}
|
|
4341
4346
|
</kendo-dialog-titlebar>
|
|
4342
|
-
<div
|
|
4343
|
-
<
|
|
4344
|
-
<div class="k-ct-popup k-window-content" [style.text-align]="'center'">
|
|
4345
|
-
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
4346
|
-
</div>
|
|
4347
|
-
</div>
|
|
4347
|
+
<div [style.text-align]="'center'">
|
|
4348
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
4348
4349
|
</div>
|
|
4349
|
-
<kendo-dialog-actions>
|
|
4350
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4350
4351
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4351
4352
|
</kendo-dialog-actions>
|
|
4352
4353
|
`
|
|
@@ -4477,26 +4478,22 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4477
4478
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4478
4479
|
{{ textFor('fontSize') }}
|
|
4479
4480
|
</kendo-dialog-titlebar>
|
|
4480
|
-
<div
|
|
4481
|
-
<
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
>
|
|
4490
|
-
</kendo-editor-fontsize-dropdownlist>
|
|
4491
|
-
</div>
|
|
4492
|
-
</div>
|
|
4481
|
+
<div [style.text-align]="'center'">
|
|
4482
|
+
<kendo-editor-fontsize-dropdownlist
|
|
4483
|
+
#fontSizeDropDownList
|
|
4484
|
+
[defaultItem]="defaultItem"
|
|
4485
|
+
[data]="data"
|
|
4486
|
+
[(value)]="value"
|
|
4487
|
+
[itemDisabled]="itemDisabled"
|
|
4488
|
+
>
|
|
4489
|
+
</kendo-editor-fontsize-dropdownlist>
|
|
4493
4490
|
</div>
|
|
4494
|
-
<kendo-dialog-actions>
|
|
4491
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4495
4492
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4496
4493
|
<button kendoButton
|
|
4497
4494
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
4498
4495
|
</kendo-dialog-actions>
|
|
4499
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
4496
|
+
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
|
|
4500
4497
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
|
|
4501
4498
|
type: Component,
|
|
4502
4499
|
args: [{
|
|
@@ -4504,21 +4501,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4504
4501
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4505
4502
|
{{ textFor('fontSize') }}
|
|
4506
4503
|
</kendo-dialog-titlebar>
|
|
4507
|
-
<div
|
|
4508
|
-
<
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
>
|
|
4517
|
-
</kendo-editor-fontsize-dropdownlist>
|
|
4518
|
-
</div>
|
|
4519
|
-
</div>
|
|
4504
|
+
<div [style.text-align]="'center'">
|
|
4505
|
+
<kendo-editor-fontsize-dropdownlist
|
|
4506
|
+
#fontSizeDropDownList
|
|
4507
|
+
[defaultItem]="defaultItem"
|
|
4508
|
+
[data]="data"
|
|
4509
|
+
[(value)]="value"
|
|
4510
|
+
[itemDisabled]="itemDisabled"
|
|
4511
|
+
>
|
|
4512
|
+
</kendo-editor-fontsize-dropdownlist>
|
|
4520
4513
|
</div>
|
|
4521
|
-
<kendo-dialog-actions>
|
|
4514
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
4522
4515
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
4523
4516
|
<button kendoButton
|
|
4524
4517
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
@@ -4546,11 +4539,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4546
4539
|
* Use the FontSize tool to provide a custom list of font size options including any allowed units ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
|
|
4547
4540
|
*/
|
|
4548
4541
|
class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
4549
|
-
constructor(dialogService, localization, providerService, toolsService) {
|
|
4542
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
4550
4543
|
super();
|
|
4551
4544
|
this.dialogService = dialogService;
|
|
4552
4545
|
this.localization = localization;
|
|
4553
4546
|
this.toolsService = toolsService;
|
|
4547
|
+
this.renderer = renderer;
|
|
4554
4548
|
this.disabled = false;
|
|
4555
4549
|
this.tabindex = -1;
|
|
4556
4550
|
/**
|
|
@@ -4636,10 +4630,12 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4636
4630
|
openDialog() {
|
|
4637
4631
|
const dialogSettings = {
|
|
4638
4632
|
appendTo: this.editor.dialogContainer,
|
|
4639
|
-
content: FontSizeDialogComponent
|
|
4633
|
+
content: FontSizeDialogComponent,
|
|
4634
|
+
width: 400
|
|
4640
4635
|
};
|
|
4641
4636
|
this.editor.toolbar.toggle(false);
|
|
4642
4637
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
4638
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
4643
4639
|
dialogContent.setData({
|
|
4644
4640
|
editor: this.editor,
|
|
4645
4641
|
data: this.data,
|
|
@@ -4674,7 +4670,7 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4674
4670
|
return false;
|
|
4675
4671
|
}
|
|
4676
4672
|
}
|
|
4677
|
-
EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4673
|
+
EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4678
4674
|
EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], 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: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
4679
4675
|
<ng-template #toolbarTemplate>
|
|
4680
4676
|
<kendo-editor-fontsize-dropdownlist
|
|
@@ -4705,7 +4701,7 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4705
4701
|
</span>
|
|
4706
4702
|
</div>
|
|
4707
4703
|
</ng-template>
|
|
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"] }] });
|
|
4704
|
+
`, 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"] }] });
|
|
4709
4705
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
|
|
4710
4706
|
type: Component,
|
|
4711
4707
|
args: [{
|
|
@@ -4743,7 +4739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4743
4739
|
</ng-template>
|
|
4744
4740
|
`
|
|
4745
4741
|
}]
|
|
4746
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
|
|
4742
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
|
|
4747
4743
|
type: Input
|
|
4748
4744
|
}], valueChange: [{
|
|
4749
4745
|
type: Output
|
|
@@ -4776,11 +4772,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4776
4772
|
* ```
|
|
4777
4773
|
*/
|
|
4778
4774
|
class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
4779
|
-
constructor(dialogService, localization, providerService, toolsService) {
|
|
4775
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
4780
4776
|
super();
|
|
4781
4777
|
this.dialogService = dialogService;
|
|
4782
4778
|
this.localization = localization;
|
|
4783
4779
|
this.toolsService = toolsService;
|
|
4780
|
+
this.renderer = renderer;
|
|
4784
4781
|
this.disabled = false;
|
|
4785
4782
|
this.tabindex = -1;
|
|
4786
4783
|
/**
|
|
@@ -4859,10 +4856,12 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
4859
4856
|
openDialog() {
|
|
4860
4857
|
const dialogSettings = {
|
|
4861
4858
|
appendTo: this.editor.dialogContainer,
|
|
4862
|
-
content: FontFamilyDialogComponent
|
|
4859
|
+
content: FontFamilyDialogComponent,
|
|
4860
|
+
width: 400
|
|
4863
4861
|
};
|
|
4864
4862
|
this.editor.toolbar.toggle(false);
|
|
4865
4863
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
4864
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
4866
4865
|
dialogContent.setData({
|
|
4867
4866
|
editor: this.editor,
|
|
4868
4867
|
data: this.data,
|
|
@@ -4897,7 +4896,7 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
4897
4896
|
return false;
|
|
4898
4897
|
}
|
|
4899
4898
|
}
|
|
4900
|
-
EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4899
|
+
EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4901
4900
|
EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], 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: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
4902
4901
|
<ng-template #toolbarTemplate>
|
|
4903
4902
|
<kendo-editor-fontfamily-dropdownlist
|
|
@@ -4928,7 +4927,7 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4928
4927
|
</span>
|
|
4929
4928
|
</div>
|
|
4930
4929
|
</ng-template>
|
|
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"] }] });
|
|
4930
|
+
`, 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"] }] });
|
|
4932
4931
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
|
|
4933
4932
|
type: Component,
|
|
4934
4933
|
args: [{
|
|
@@ -4966,7 +4965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4966
4965
|
</ng-template>
|
|
4967
4966
|
`
|
|
4968
4967
|
}]
|
|
4969
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { data: [{
|
|
4968
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
|
|
4970
4969
|
type: Input
|
|
4971
4970
|
}], valueChange: [{
|
|
4972
4971
|
type: Output
|
|
@@ -4994,11 +4993,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
4994
4993
|
* foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directive.
|
|
4995
4994
|
*/
|
|
4996
4995
|
class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
4997
|
-
constructor(localization, dialogService, ngZone, providerService) {
|
|
4996
|
+
constructor(localization, dialogService, ngZone, providerService, renderer) {
|
|
4998
4997
|
super();
|
|
4999
4998
|
this.localization = localization;
|
|
5000
4999
|
this.dialogService = dialogService;
|
|
5001
5000
|
this.ngZone = ngZone;
|
|
5001
|
+
this.renderer = renderer;
|
|
5002
5002
|
this.tabindex = -1;
|
|
5003
5003
|
/**
|
|
5004
5004
|
* Specifies if the component should be disabled.
|
|
@@ -5094,10 +5094,12 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5094
5094
|
openDialog() {
|
|
5095
5095
|
const dialogSettings = {
|
|
5096
5096
|
appendTo: this.editor.dialogContainer,
|
|
5097
|
-
content: ColorPickerDialogComponent
|
|
5097
|
+
content: ColorPickerDialogComponent,
|
|
5098
|
+
width: 400
|
|
5098
5099
|
};
|
|
5099
5100
|
this.editor.toolbar.toggle(false);
|
|
5100
5101
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
5102
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
5101
5103
|
dialogContent.setData({
|
|
5102
5104
|
editor: this.editor,
|
|
5103
5105
|
value: this.value,
|
|
@@ -5141,7 +5143,7 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5141
5143
|
return `k-icon k-i-${this.icon}`;
|
|
5142
5144
|
}
|
|
5143
5145
|
}
|
|
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 });
|
|
5146
|
+
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 });
|
|
5145
5147
|
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: `
|
|
5146
5148
|
<ng-template #toolbarTemplate>
|
|
5147
5149
|
<kendo-colorpicker
|
|
@@ -5177,7 +5179,7 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
5177
5179
|
</span>
|
|
5178
5180
|
</div>
|
|
5179
5181
|
</ng-template>
|
|
5180
|
-
`, isInline: true, components: [{ type:
|
|
5182
|
+
`, 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"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
5181
5183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
5182
5184
|
type: Component,
|
|
5183
5185
|
args: [{
|
|
@@ -5220,7 +5222,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5220
5222
|
</ng-template>
|
|
5221
5223
|
`
|
|
5222
5224
|
}]
|
|
5223
|
-
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }]; }, propDecorators: { value: [{
|
|
5225
|
+
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
|
|
5224
5226
|
type: Input
|
|
5225
5227
|
}], icon: [{
|
|
5226
5228
|
type: Input
|
|
@@ -5262,11 +5264,12 @@ const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is
|
|
|
5262
5264
|
* ```
|
|
5263
5265
|
*/
|
|
5264
5266
|
class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
5265
|
-
constructor(localization, popupService, dialogService, providerService) {
|
|
5267
|
+
constructor(localization, popupService, dialogService, providerService, renderer) {
|
|
5266
5268
|
super();
|
|
5267
5269
|
this.localization = localization;
|
|
5268
5270
|
this.popupService = popupService;
|
|
5269
5271
|
this.dialogService = dialogService;
|
|
5272
|
+
this.renderer = renderer;
|
|
5270
5273
|
this.open = false;
|
|
5271
5274
|
this.buttonBlurred = new EventEmitter();
|
|
5272
5275
|
this.cellClicked = new EventEmitter();
|
|
@@ -5308,10 +5311,12 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
5308
5311
|
openDialog() {
|
|
5309
5312
|
const dialogSettings = {
|
|
5310
5313
|
appendTo: this.editor.dialogContainer,
|
|
5311
|
-
content: InsertTableDialogComponent
|
|
5314
|
+
content: InsertTableDialogComponent,
|
|
5315
|
+
width: 400
|
|
5312
5316
|
};
|
|
5313
5317
|
this.editor.toolbar.toggle(false);
|
|
5314
5318
|
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
5319
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
5315
5320
|
dialogContent.setData({
|
|
5316
5321
|
editor: this.editor
|
|
5317
5322
|
});
|
|
@@ -5389,7 +5394,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
5389
5394
|
return (this.overflows ? this.overflowElement : this.element).nativeElement;
|
|
5390
5395
|
}
|
|
5391
5396
|
}
|
|
5392
|
-
EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5397
|
+
EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5393
5398
|
EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorInsertTableButtonComponent, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5394
5399
|
<ng-template #toolbarTemplate>
|
|
5395
5400
|
<button
|
|
@@ -5421,7 +5426,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5421
5426
|
<ng-template #popupGridTemplate>
|
|
5422
5427
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
5423
5428
|
</ng-template>
|
|
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"] }] });
|
|
5429
|
+
`, 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"] }] });
|
|
5425
5430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
5426
5431
|
type: Component,
|
|
5427
5432
|
args: [{
|
|
@@ -5460,7 +5465,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5460
5465
|
</ng-template>
|
|
5461
5466
|
`
|
|
5462
5467
|
}]
|
|
5463
|
-
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }]; }, propDecorators: { toolbarTemplate: [{
|
|
5468
|
+
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
|
|
5464
5469
|
type: ViewChild,
|
|
5465
5470
|
args: ['toolbarTemplate', { static: true }]
|
|
5466
5471
|
}], popupTemplate: [{
|
|
@@ -6363,7 +6368,9 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
6363
6368
|
NumericTextBoxModule,
|
|
6364
6369
|
CheckBoxModule,
|
|
6365
6370
|
ToolBarModule,
|
|
6366
|
-
TextBoxModule
|
|
6371
|
+
TextBoxModule,
|
|
6372
|
+
TextAreaModule,
|
|
6373
|
+
LabelModule], exports: [EditorComponent,
|
|
6367
6374
|
//alignment
|
|
6368
6375
|
EditorAlignLeftButtonDirective,
|
|
6369
6376
|
EditorAlignCenterButtonDirective,
|
|
@@ -6443,7 +6450,9 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
6443
6450
|
NumericTextBoxModule,
|
|
6444
6451
|
CheckBoxModule,
|
|
6445
6452
|
ToolBarModule,
|
|
6446
|
-
TextBoxModule
|
|
6453
|
+
TextBoxModule,
|
|
6454
|
+
TextAreaModule,
|
|
6455
|
+
LabelModule
|
|
6447
6456
|
], ToolBarModule,
|
|
6448
6457
|
ButtonModule,
|
|
6449
6458
|
FormsModule,
|
|
@@ -6484,7 +6493,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6484
6493
|
NumericTextBoxModule,
|
|
6485
6494
|
CheckBoxModule,
|
|
6486
6495
|
ToolBarModule,
|
|
6487
|
-
TextBoxModule
|
|
6496
|
+
TextBoxModule,
|
|
6497
|
+
TextAreaModule,
|
|
6498
|
+
LabelModule
|
|
6488
6499
|
]
|
|
6489
6500
|
}]
|
|
6490
6501
|
}] });
|