@progress/kendo-angular-editor 17.0.0-develop.3 → 17.0.0-develop.31
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/README.md +26 -18
- package/common/commands.d.ts +5 -5
- package/common/direction.d.ts +1 -1
- package/common/plugins-function.d.ts +1 -1
- package/common/predicate.d.ts +1 -1
- package/config/utils.d.ts +2 -2
- package/dialogs/colorpicker-dialog.component.d.ts +1 -1
- package/dialogs/file-link-dialog.component.d.ts +1 -1
- package/dialogs/font-family-dialog.component.d.ts +1 -1
- package/dialogs/font-size-dialog.component.d.ts +1 -1
- package/dialogs/format-dialog.component.d.ts +1 -1
- package/dialogs/image-dialog.component.d.ts +1 -1
- package/dialogs/insert-table-dialog.component.d.ts +1 -1
- package/dialogs/source-dialog.component.d.ts +1 -1
- package/editor.component.d.ts +1 -1
- package/{esm2020 → esm2022}/common/provider.service.mjs +4 -3
- package/{esm2020 → esm2022}/dialogs/colorpicker-dialog.component.mjs +17 -5
- package/{esm2020 → esm2022}/dialogs/file-link-dialog.component.mjs +15 -10
- package/{esm2020 → esm2022}/dialogs/font-family-dialog.component.mjs +13 -6
- package/{esm2020 → esm2022}/dialogs/font-size-dialog.component.mjs +13 -6
- package/{esm2020 → esm2022}/dialogs/format-dialog.component.mjs +13 -6
- package/{esm2020 → esm2022}/dialogs/image-dialog.component.mjs +29 -21
- package/{esm2020 → esm2022}/dialogs/insert-table-dialog.component.mjs +8 -5
- package/{esm2020 → esm2022}/dialogs/source-dialog.component.mjs +10 -6
- package/{esm2020 → esm2022}/editor.component.mjs +222 -180
- package/{esm2020 → esm2022}/editor.module.mjs +4 -4
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/editor-localization.service.mjs +3 -3
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
- package/esm2022/localization/messages.mjs +364 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/preventable-events/paste-event.mjs +12 -0
- package/{esm2020 → esm2022}/preventable-events/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-center-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-left-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-right-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/colorpicker/editor-back-color.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tools/colorpicker/editor-colorpicker.component.mjs +59 -33
- package/{esm2020 → esm2022}/tools/colorpicker/editor-fore-color.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tools/editor-clean-formatting-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +14 -7
- package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily.component.mjs +53 -41
- package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +14 -7
- package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize.component.mjs +48 -36
- package/{esm2020 → esm2022}/tools/format/editor-format-dropdownlist.component.mjs +14 -7
- package/{esm2020 → esm2022}/tools/format/editor-format.component.mjs +41 -36
- package/{esm2020 → esm2022}/tools/history/editor-redo-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/history/editor-undo-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/image/editor-insert-image-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/indentation/editor-indent-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/indentation/editor-outdent-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/link/editor-create-link-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/link/editor-insert-file-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/link/editor-unlink-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/print/editor-print-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/select-all/select-all-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/shared/dropdown-tool.directive.mjs +11 -9
- package/{esm2020 → esm2022}/tools/shared/editor-command-base.mjs +9 -3
- package/{esm2020 → esm2022}/tools/shared/editor-command-button.mjs +5 -0
- package/{esm2020 → esm2022}/tools/shared/editor-command-dialog.mjs +5 -0
- package/{esm2020 → esm2022}/tools/source/editor-view-source-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-delete-column-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-delete-row-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-delete-table-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-insert-table-button.component.mjs +27 -16
- package/{esm2020 → esm2022}/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-split-cell-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/popup-table-grid.component.mjs +11 -10
- package/{esm2020 → esm2022}/tools/tools.service.mjs +5 -4
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
- package/{fesm2020 → fesm2022}/progress-kendo-angular-editor.mjs +1040 -591
- package/localization/messages.d.ts +1 -1
- package/package.json +25 -31
- package/schematics/ngAdd/index.js +4 -4
- package/tools/colorpicker/editor-colorpicker.component.d.ts +2 -4
- package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -4
- package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize.component.d.ts +2 -4
- package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
- package/tools/format/editor-format.component.d.ts +2 -4
- package/tools/tables/editor-insert-table-button.component.d.ts +0 -2
- package/esm2020/localization/messages.mjs +0 -132
- package/fesm2015/progress-kendo-angular-editor.mjs +0 -6403
- /package/{esm2020 → esm2022}/common/active-marks.mjs +0 -0
- /package/{esm2020 → esm2022}/common/apply-to-word-options.mjs +0 -0
- /package/{esm2020 → esm2022}/common/commands.mjs +0 -0
- /package/{esm2020 → esm2022}/common/css-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
- /package/{esm2020 → esm2022}/common/error-messages.mjs +0 -0
- /package/{esm2020 → esm2022}/common/font-family-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/font-size-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/format-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/image-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/link-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/paste-cleanup-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/plugins-function.mjs +0 -0
- /package/{esm2020 → esm2022}/common/predicate.mjs +0 -0
- /package/{esm2020 → esm2022}/common/resizable-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/styles.mjs +0 -0
- /package/{esm2020 → esm2022}/common/table-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/config/command-icons.mjs +0 -0
- /package/{esm2020 → esm2022}/config/commands.mjs +0 -0
- /package/{esm2020 → esm2022}/config/schema.mjs +0 -0
- /package/{esm2020 → esm2022}/config/semantic-nodes.mjs +0 -0
- /package/{esm2020 → esm2022}/config/table-commands.mjs +0 -0
- /package/{esm2020 → esm2022}/config/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/editor-toolbar-state.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-editor.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
|
@@ -14,7 +14,7 @@ import { ToolBarToolComponent, ToolBarComponent, ToolBarButtonGroupComponent, To
|
|
|
14
14
|
import * as i1$1 from '@progress/kendo-angular-dialog';
|
|
15
15
|
import { DialogContentBase, DialogTitleBarComponent, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
16
16
|
import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, WatermarkOverlayComponent, isPresent as isPresent$1, Keys, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
17
|
-
import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr,
|
|
17
|
+
import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView, pasteCleanup, AllSelection } from '@progress/kendo-editor-common';
|
|
18
18
|
export { Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeType, Plugin, PluginKey, Schema, Transaction, baseKeymap, dropCursor, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
|
|
19
19
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
20
20
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
@@ -35,8 +35,8 @@ const packageMetadata = {
|
|
|
35
35
|
name: '@progress/kendo-angular-editor',
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
38
|
-
publishDate:
|
|
39
|
-
version: '17.0.0-develop.
|
|
38
|
+
publishDate: 1730478923,
|
|
39
|
+
version: '17.0.0-develop.31',
|
|
40
40
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -653,10 +653,10 @@ class EditorLocalizationService extends LocalizationService {
|
|
|
653
653
|
constructor(prefix, messageService, _rtl) {
|
|
654
654
|
super(prefix, messageService, _rtl);
|
|
655
655
|
}
|
|
656
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
657
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorLocalizationService });
|
|
656
658
|
}
|
|
657
|
-
|
|
658
|
-
EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorLocalizationService });
|
|
659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorLocalizationService, decorators: [{
|
|
659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorLocalizationService, decorators: [{
|
|
660
660
|
type: Injectable
|
|
661
661
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
662
662
|
type: Inject,
|
|
@@ -674,11 +674,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
674
674
|
* @hidden
|
|
675
675
|
*/
|
|
676
676
|
class SourceDialogComponent extends DialogContentBase {
|
|
677
|
+
dialog;
|
|
678
|
+
localization;
|
|
679
|
+
editor;
|
|
680
|
+
textarea;
|
|
681
|
+
data = '';
|
|
677
682
|
constructor(dialog, localization) {
|
|
678
683
|
super(dialog);
|
|
679
684
|
this.dialog = dialog;
|
|
680
685
|
this.localization = localization;
|
|
681
|
-
this.data = '';
|
|
682
686
|
}
|
|
683
687
|
onCancelAction() {
|
|
684
688
|
this.dialog.close();
|
|
@@ -704,9 +708,8 @@ class SourceDialogComponent extends DialogContentBase {
|
|
|
704
708
|
.replace(/<br \/>/gi, '<br />\n')
|
|
705
709
|
.replace(/\n$/, '');
|
|
706
710
|
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
711
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
712
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
710
713
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
711
714
|
{{ textFor('viewSource') }}
|
|
712
715
|
</kendo-dialog-titlebar>
|
|
@@ -729,8 +732,9 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
729
732
|
(click)="onCancelAction()"
|
|
730
733
|
>{{ textFor('dialogCancel') }}</button>
|
|
731
734
|
</kendo-dialog-actions>
|
|
732
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
733
|
-
|
|
735
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
736
|
+
}
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SourceDialogComponent, decorators: [{
|
|
734
738
|
type: Component,
|
|
735
739
|
args: [{
|
|
736
740
|
template: `
|
|
@@ -771,26 +775,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
771
775
|
* @hidden
|
|
772
776
|
*/
|
|
773
777
|
class ImageDialogComponent extends DialogContentBase {
|
|
778
|
+
dialog;
|
|
779
|
+
localization;
|
|
780
|
+
editor;
|
|
781
|
+
srcInput;
|
|
782
|
+
src = new FormControl('', Validators.required);
|
|
783
|
+
alt = new FormControl('');
|
|
784
|
+
width = new FormControl('', Validators.min(1));
|
|
785
|
+
height = new FormControl('', Validators.min(1));
|
|
786
|
+
data = {
|
|
787
|
+
alt: '',
|
|
788
|
+
height: '',
|
|
789
|
+
src: '',
|
|
790
|
+
width: ''
|
|
791
|
+
};
|
|
792
|
+
imageData = new FormGroup({
|
|
793
|
+
alt: this.alt,
|
|
794
|
+
height: this.height,
|
|
795
|
+
src: this.src,
|
|
796
|
+
width: this.width
|
|
797
|
+
});
|
|
798
|
+
srcInputId;
|
|
799
|
+
altTextInputId;
|
|
800
|
+
widthInputId;
|
|
801
|
+
heightInputId;
|
|
774
802
|
constructor(dialog, localization) {
|
|
775
803
|
super(dialog);
|
|
776
804
|
this.dialog = dialog;
|
|
777
805
|
this.localization = localization;
|
|
778
|
-
this.src = new FormControl('', Validators.required);
|
|
779
|
-
this.alt = new FormControl('');
|
|
780
|
-
this.width = new FormControl('', Validators.min(1));
|
|
781
|
-
this.height = new FormControl('', Validators.min(1));
|
|
782
|
-
this.data = {
|
|
783
|
-
alt: '',
|
|
784
|
-
height: '',
|
|
785
|
-
src: '',
|
|
786
|
-
width: ''
|
|
787
|
-
};
|
|
788
|
-
this.imageData = new FormGroup({
|
|
789
|
-
alt: this.alt,
|
|
790
|
-
height: this.height,
|
|
791
|
-
src: this.src,
|
|
792
|
-
width: this.width
|
|
793
|
-
});
|
|
794
806
|
}
|
|
795
807
|
ngOnInit() {
|
|
796
808
|
this.srcInputId = `k-${guid()}`;
|
|
@@ -831,9 +843,8 @@ class ImageDialogComponent extends DialogContentBase {
|
|
|
831
843
|
normalizeDimension(value) {
|
|
832
844
|
return Number.isNaN(parseInt(value, 10)) || parseInt(value, 10) <= 0 ? '' : safeString(parseInt(value, 10));
|
|
833
845
|
}
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
837
848
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
838
849
|
{{ textFor('insertImage') }}
|
|
839
850
|
</kendo-dialog-titlebar>
|
|
@@ -895,8 +906,9 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
895
906
|
(click)="onCancelAction()"
|
|
896
907
|
>{{ textFor('dialogCancel') }}</button>
|
|
897
908
|
</kendo-dialog-actions>
|
|
898
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
899
|
-
|
|
909
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
910
|
+
}
|
|
911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ImageDialogComponent, decorators: [{
|
|
900
912
|
type: Component,
|
|
901
913
|
args: [{
|
|
902
914
|
template: `
|
|
@@ -976,15 +988,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
976
988
|
* @hidden
|
|
977
989
|
*/
|
|
978
990
|
class FileLinkDialogComponent extends DialogContentBase {
|
|
991
|
+
dialog;
|
|
992
|
+
localization;
|
|
993
|
+
editor;
|
|
994
|
+
command;
|
|
995
|
+
hrefInput;
|
|
996
|
+
linkForm = new FormGroup({
|
|
997
|
+
'href': new FormControl('', Validators.required),
|
|
998
|
+
'text': new FormControl({ value: '', disabled: true }, Validators.required),
|
|
999
|
+
'title': new FormControl('')
|
|
1000
|
+
});
|
|
979
1001
|
constructor(dialog, localization) {
|
|
980
1002
|
super(dialog);
|
|
981
1003
|
this.dialog = dialog;
|
|
982
1004
|
this.localization = localization;
|
|
983
|
-
this.linkForm = new FormGroup({
|
|
984
|
-
'href': new FormControl('', Validators.required),
|
|
985
|
-
'text': new FormControl({ value: '', disabled: true }, Validators.required),
|
|
986
|
-
'title': new FormControl('')
|
|
987
|
-
});
|
|
988
1005
|
}
|
|
989
1006
|
onCancelAction() {
|
|
990
1007
|
this.dialog.close();
|
|
@@ -1054,9 +1071,8 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
1054
1071
|
}
|
|
1055
1072
|
return linkData;
|
|
1056
1073
|
}
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1074
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1075
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1060
1076
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1061
1077
|
{{ titleText }}
|
|
1062
1078
|
</kendo-dialog-titlebar>
|
|
@@ -1122,8 +1138,9 @@ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1122
1138
|
(click)="onCancelAction()"
|
|
1123
1139
|
>{{ textFor('dialogCancel') }}</button>
|
|
1124
1140
|
</kendo-dialog-actions>
|
|
1125
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
1126
|
-
|
|
1141
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
1142
|
+
}
|
|
1143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
|
|
1127
1144
|
type: Component,
|
|
1128
1145
|
args: [{
|
|
1129
1146
|
template: `
|
|
@@ -1525,10 +1542,11 @@ const EditorErrorMessages = {
|
|
|
1525
1542
|
* @hidden
|
|
1526
1543
|
*/
|
|
1527
1544
|
class ProviderService {
|
|
1545
|
+
editor;
|
|
1546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1547
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService });
|
|
1528
1548
|
}
|
|
1529
|
-
|
|
1530
|
-
ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService });
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService, decorators: [{
|
|
1549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService, decorators: [{
|
|
1532
1550
|
type: Injectable
|
|
1533
1551
|
}] });
|
|
1534
1552
|
|
|
@@ -1536,14 +1554,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1536
1554
|
* @hidden
|
|
1537
1555
|
*/
|
|
1538
1556
|
class EditorToolsService {
|
|
1557
|
+
zone;
|
|
1558
|
+
needsCheck = new Subject();
|
|
1539
1559
|
constructor(zone) {
|
|
1540
1560
|
this.zone = zone;
|
|
1541
|
-
this.needsCheck = new Subject();
|
|
1542
1561
|
}
|
|
1562
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1563
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorToolsService });
|
|
1543
1564
|
}
|
|
1544
|
-
|
|
1545
|
-
EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorToolsService });
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorToolsService, decorators: [{
|
|
1565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorToolsService, decorators: [{
|
|
1547
1566
|
type: Injectable
|
|
1548
1567
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1549
1568
|
|
|
@@ -1551,9 +1570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1551
1570
|
* @hidden
|
|
1552
1571
|
*/
|
|
1553
1572
|
class PreventableEvent {
|
|
1554
|
-
|
|
1555
|
-
this.prevented = false;
|
|
1556
|
-
}
|
|
1573
|
+
prevented = false;
|
|
1557
1574
|
/**
|
|
1558
1575
|
* Prevents the default action for a specified event.
|
|
1559
1576
|
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
@@ -1575,6 +1592,18 @@ class PreventableEvent {
|
|
|
1575
1592
|
* The Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event.
|
|
1576
1593
|
*/
|
|
1577
1594
|
class EditorPasteEvent extends PreventableEvent {
|
|
1595
|
+
/**
|
|
1596
|
+
* The HTML content cleaned in accordance with the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
|
|
1597
|
+
*/
|
|
1598
|
+
cleanedHtml;
|
|
1599
|
+
/**
|
|
1600
|
+
* The raw pasted content.
|
|
1601
|
+
*/
|
|
1602
|
+
originalHtml;
|
|
1603
|
+
/**
|
|
1604
|
+
* The original DOM event.
|
|
1605
|
+
*/
|
|
1606
|
+
originalEvent;
|
|
1578
1607
|
/**
|
|
1579
1608
|
* Constructs the event arguments for the `paste` event.
|
|
1580
1609
|
* @hidden
|
|
@@ -1681,6 +1710,12 @@ const MY_TOKEN = new InjectionToken('COMMAND_TOKEN');
|
|
|
1681
1710
|
* @hidden
|
|
1682
1711
|
*/
|
|
1683
1712
|
class EditorCommandBaseDirective {
|
|
1713
|
+
command;
|
|
1714
|
+
button;
|
|
1715
|
+
localization;
|
|
1716
|
+
toolsService;
|
|
1717
|
+
subs;
|
|
1718
|
+
editor;
|
|
1684
1719
|
constructor(command, button, localization, providerService, toolsService) {
|
|
1685
1720
|
this.command = command;
|
|
1686
1721
|
this.button = button;
|
|
@@ -1721,10 +1756,10 @@ class EditorCommandBaseDirective {
|
|
|
1721
1756
|
clickHandler() { }
|
|
1722
1757
|
pointerdownHandler(_event) { }
|
|
1723
1758
|
onStateChange(_toolBarState) { }
|
|
1759
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCommandBaseDirective, deps: [{ token: MY_TOKEN }, { token: i1$2.ToolBarButtonComponent }, { token: i1.LocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1760
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
|
|
1724
1761
|
}
|
|
1725
|
-
|
|
1726
|
-
EditorCommandBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
|
|
1727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
|
|
1762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
|
|
1728
1763
|
type: Directive,
|
|
1729
1764
|
args: [{
|
|
1730
1765
|
selector: '[kendoEditorCommandBase]'
|
|
@@ -1738,6 +1773,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1738
1773
|
* @hidden
|
|
1739
1774
|
*/
|
|
1740
1775
|
class EditorCommandDialog extends EditorCommandBaseDirective {
|
|
1776
|
+
dialog;
|
|
1777
|
+
button;
|
|
1778
|
+
localization;
|
|
1779
|
+
providerService;
|
|
1780
|
+
toolsService;
|
|
1741
1781
|
constructor(dialog, button, localization, providerService, toolsService) {
|
|
1742
1782
|
super(dialog, button, localization, providerService, toolsService);
|
|
1743
1783
|
this.dialog = dialog;
|
|
@@ -1771,10 +1811,10 @@ class EditorInsertImageButtonDirective extends EditorCommandDialog {
|
|
|
1771
1811
|
constructor(button, localization, providerService, toolsService) {
|
|
1772
1812
|
super('insertImage', button, localization, providerService, toolsService);
|
|
1773
1813
|
}
|
|
1814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertImageButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1815
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertImageButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
|
|
1774
1816
|
}
|
|
1775
|
-
|
|
1776
|
-
EditorInsertImageButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertImageButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
|
|
1777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
|
|
1817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
|
|
1778
1818
|
type: Directive,
|
|
1779
1819
|
args: [{
|
|
1780
1820
|
selector: 'kendo-toolbar-button[kendoEditorInsertImageButton]',
|
|
@@ -1786,6 +1826,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1786
1826
|
* @hidden
|
|
1787
1827
|
*/
|
|
1788
1828
|
class EditorCommandButton extends EditorCommandBaseDirective {
|
|
1829
|
+
command;
|
|
1830
|
+
button;
|
|
1831
|
+
localization;
|
|
1832
|
+
providerService;
|
|
1833
|
+
toolsService;
|
|
1789
1834
|
constructor(command, button, localization, providerService, toolsService) {
|
|
1790
1835
|
super(command, button, localization, providerService, toolsService);
|
|
1791
1836
|
this.command = command;
|
|
@@ -1824,10 +1869,10 @@ class EditorUnlinkButtonDirective extends EditorCommandButton {
|
|
|
1824
1869
|
constructor(button, localization, providerService, toolsService) {
|
|
1825
1870
|
super('unlink', button, localization, providerService, toolsService);
|
|
1826
1871
|
}
|
|
1872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1873
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorUnlinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
|
|
1827
1874
|
}
|
|
1828
|
-
|
|
1829
|
-
EditorUnlinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorUnlinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
|
|
1830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
|
|
1875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
|
|
1831
1876
|
type: Directive,
|
|
1832
1877
|
args: [{
|
|
1833
1878
|
selector: 'kendo-toolbar-button[kendoEditorUnlinkButton]',
|
|
@@ -1850,10 +1895,10 @@ class EditorCreateLinkButtonDirective extends EditorCommandDialog {
|
|
|
1850
1895
|
constructor(button, localization, providerService, toolsService) {
|
|
1851
1896
|
super('createLink', button, localization, providerService, toolsService);
|
|
1852
1897
|
}
|
|
1898
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCreateLinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1899
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorCreateLinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
|
|
1853
1900
|
}
|
|
1854
|
-
|
|
1855
|
-
EditorCreateLinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorCreateLinkButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
|
|
1856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
|
|
1901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
|
|
1857
1902
|
type: Directive,
|
|
1858
1903
|
args: [{
|
|
1859
1904
|
selector: 'kendo-toolbar-button[kendoEditorCreateLinkButton]',
|
|
@@ -1876,10 +1921,10 @@ class EditorOutdentButtonDirective extends EditorCommandButton {
|
|
|
1876
1921
|
constructor(button, localization, providerService, toolsService) {
|
|
1877
1922
|
super('outdent', button, localization, providerService, toolsService);
|
|
1878
1923
|
}
|
|
1924
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1925
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorOutdentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
|
|
1879
1926
|
}
|
|
1880
|
-
|
|
1881
|
-
EditorOutdentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorOutdentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
|
|
1882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
|
|
1927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
|
|
1883
1928
|
type: Directive,
|
|
1884
1929
|
args: [{
|
|
1885
1930
|
selector: 'kendo-toolbar-button[kendoEditorOutdentButton]',
|
|
@@ -1902,10 +1947,10 @@ class EditorIndentButtonDirective extends EditorCommandButton {
|
|
|
1902
1947
|
constructor(button, localization, providerService, toolsService) {
|
|
1903
1948
|
super('indent', button, localization, providerService, toolsService);
|
|
1904
1949
|
}
|
|
1950
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1951
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorIndentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
|
|
1905
1952
|
}
|
|
1906
|
-
|
|
1907
|
-
EditorIndentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorIndentButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
|
|
1908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
|
|
1953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
|
|
1909
1954
|
type: Directive,
|
|
1910
1955
|
args: [{
|
|
1911
1956
|
selector: 'kendo-toolbar-button[kendoEditorIndentButton]',
|
|
@@ -1928,10 +1973,10 @@ class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
|
|
|
1928
1973
|
constructor(button, localization, providerService, toolsService) {
|
|
1929
1974
|
super('insertOrderedList', button, localization, providerService, toolsService);
|
|
1930
1975
|
}
|
|
1976
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1977
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertOrderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
|
|
1931
1978
|
}
|
|
1932
|
-
|
|
1933
|
-
EditorInsertOrderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertOrderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
|
|
1934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
|
|
1979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
|
|
1935
1980
|
type: Directive,
|
|
1936
1981
|
args: [{
|
|
1937
1982
|
selector: 'kendo-toolbar-button[kendoEditorInsertOrderedListButton]',
|
|
@@ -1954,10 +1999,10 @@ class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
|
|
|
1954
1999
|
constructor(button, localization, providerService, toolsService) {
|
|
1955
2000
|
super('insertUnorderedList', button, localization, providerService, toolsService);
|
|
1956
2001
|
}
|
|
2002
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2003
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertUnorderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
|
|
1957
2004
|
}
|
|
1958
|
-
|
|
1959
|
-
EditorInsertUnorderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertUnorderedListButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
|
|
1960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
|
|
2005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
|
|
1961
2006
|
type: Directive,
|
|
1962
2007
|
args: [{
|
|
1963
2008
|
selector: 'kendo-toolbar-button[kendoEditorInsertUnorderedListButton]',
|
|
@@ -1980,10 +2025,10 @@ class EditorAlignJustifyButtonDirective extends EditorCommandButton {
|
|
|
1980
2025
|
constructor(button, localization, providerService, toolsService) {
|
|
1981
2026
|
super('alignJustify', button, localization, providerService, toolsService);
|
|
1982
2027
|
}
|
|
2028
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2029
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
|
|
1983
2030
|
}
|
|
1984
|
-
|
|
1985
|
-
EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
|
|
1986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
|
|
2031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
|
|
1987
2032
|
type: Directive,
|
|
1988
2033
|
args: [{
|
|
1989
2034
|
selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]',
|
|
@@ -2006,10 +2051,10 @@ class EditorAlignRightButtonDirective extends EditorCommandButton {
|
|
|
2006
2051
|
constructor(button, localization, providerService, toolsService) {
|
|
2007
2052
|
super('alignRight', button, localization, providerService, toolsService);
|
|
2008
2053
|
}
|
|
2054
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2055
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
|
|
2009
2056
|
}
|
|
2010
|
-
|
|
2011
|
-
EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
|
|
2012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
|
|
2057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
|
|
2013
2058
|
type: Directive,
|
|
2014
2059
|
args: [{
|
|
2015
2060
|
selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]',
|
|
@@ -2032,10 +2077,10 @@ class EditorAlignCenterButtonDirective extends EditorCommandButton {
|
|
|
2032
2077
|
constructor(button, localization, providerService, toolsService) {
|
|
2033
2078
|
super('alignCenter', button, localization, providerService, toolsService);
|
|
2034
2079
|
}
|
|
2080
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2081
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
|
|
2035
2082
|
}
|
|
2036
|
-
|
|
2037
|
-
EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
|
|
2038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
|
|
2083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
|
|
2039
2084
|
type: Directive,
|
|
2040
2085
|
args: [{
|
|
2041
2086
|
selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]',
|
|
@@ -2058,10 +2103,10 @@ class EditorAlignLeftButtonDirective extends EditorCommandButton {
|
|
|
2058
2103
|
constructor(button, localization, providerService, toolsService) {
|
|
2059
2104
|
super('alignLeft', button, localization, providerService, toolsService);
|
|
2060
2105
|
}
|
|
2106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2107
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
|
|
2061
2108
|
}
|
|
2062
|
-
|
|
2063
|
-
EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
|
|
2064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
|
|
2109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
|
|
2065
2110
|
type: Directive,
|
|
2066
2111
|
args: [{
|
|
2067
2112
|
selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]',
|
|
@@ -2073,15 +2118,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2073
2118
|
* @hidden
|
|
2074
2119
|
*/
|
|
2075
2120
|
class DropDownToolDirective {
|
|
2121
|
+
hostEl;
|
|
2122
|
+
zone;
|
|
2123
|
+
get hostElement() {
|
|
2124
|
+
return this.hostEl.nativeElement;
|
|
2125
|
+
}
|
|
2076
2126
|
constructor(hostEl, zone) {
|
|
2077
2127
|
this.hostEl = hostEl;
|
|
2078
2128
|
this.zone = zone;
|
|
2079
|
-
this.preventDefault = (event) => {
|
|
2080
|
-
event.preventDefault();
|
|
2081
|
-
};
|
|
2082
|
-
}
|
|
2083
|
-
get hostElement() {
|
|
2084
|
-
return this.hostEl.nativeElement;
|
|
2085
2129
|
}
|
|
2086
2130
|
ngAfterViewInit() {
|
|
2087
2131
|
this.zone.runOutsideAngular(() => {
|
|
@@ -2091,10 +2135,13 @@ class DropDownToolDirective {
|
|
|
2091
2135
|
ngOnDestroy() {
|
|
2092
2136
|
this.hostElement.removeEventListener('pointerdown', this.preventDefault);
|
|
2093
2137
|
}
|
|
2138
|
+
preventDefault = (event) => {
|
|
2139
|
+
event.preventDefault();
|
|
2140
|
+
};
|
|
2141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DropDownToolDirective, isStandalone: true, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
|
|
2094
2143
|
}
|
|
2095
|
-
|
|
2096
|
-
DropDownToolDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropDownToolDirective, isStandalone: true, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
|
|
2097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownToolDirective, decorators: [{
|
|
2144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownToolDirective, decorators: [{
|
|
2098
2145
|
type: Directive,
|
|
2099
2146
|
args: [{
|
|
2100
2147
|
selector: '[kendoEditorDropDownTool]',
|
|
@@ -2106,18 +2153,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2106
2153
|
* @hidden
|
|
2107
2154
|
*/
|
|
2108
2155
|
class FormatDropDownListComponent {
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2156
|
+
data;
|
|
2157
|
+
value;
|
|
2158
|
+
defaultItem;
|
|
2159
|
+
itemDisabled;
|
|
2160
|
+
title;
|
|
2161
|
+
disabled;
|
|
2162
|
+
tabindex;
|
|
2163
|
+
valueChange = new EventEmitter();
|
|
2164
|
+
element;
|
|
2165
|
+
dropDownList;
|
|
2112
2166
|
onValueChange(tag) {
|
|
2113
2167
|
this.valueChange.emit(tag);
|
|
2114
2168
|
}
|
|
2115
2169
|
focus() {
|
|
2116
2170
|
this.dropDownList.focus();
|
|
2117
2171
|
}
|
|
2118
|
-
}
|
|
2119
|
-
|
|
2120
|
-
FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormatDropDownListComponent, isStandalone: true, selector: "kendo-editor-format-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
|
|
2172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormatDropDownListComponent, isStandalone: true, selector: "kendo-editor-format-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
|
|
2121
2174
|
<kendo-dropdownlist
|
|
2122
2175
|
#element
|
|
2123
2176
|
kendoEditorDropDownTool
|
|
@@ -2169,7 +2222,8 @@ FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2169
2222
|
</ng-template>
|
|
2170
2223
|
</kendo-dropdownlist>
|
|
2171
2224
|
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
2172
|
-
|
|
2225
|
+
}
|
|
2226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
|
|
2173
2227
|
type: Component,
|
|
2174
2228
|
args: [{
|
|
2175
2229
|
selector: 'kendo-editor-format-dropdownlist',
|
|
@@ -2256,11 +2310,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2256
2310
|
* @hidden
|
|
2257
2311
|
*/
|
|
2258
2312
|
class FormatDialogComponent extends DialogContentBase {
|
|
2313
|
+
dialog;
|
|
2314
|
+
localization;
|
|
2315
|
+
editor;
|
|
2316
|
+
formatDropDownList;
|
|
2317
|
+
data = [];
|
|
2318
|
+
defaultItem;
|
|
2319
|
+
value;
|
|
2320
|
+
itemDisabled;
|
|
2259
2321
|
constructor(dialog, localization) {
|
|
2260
2322
|
super(dialog);
|
|
2261
2323
|
this.dialog = dialog;
|
|
2262
2324
|
this.localization = localization;
|
|
2263
|
-
this.data = [];
|
|
2264
2325
|
}
|
|
2265
2326
|
onCancelAction() {
|
|
2266
2327
|
this.dialog.close();
|
|
@@ -2281,9 +2342,8 @@ class FormatDialogComponent extends DialogContentBase {
|
|
|
2281
2342
|
textFor(key) {
|
|
2282
2343
|
return this.localization.get(key);
|
|
2283
2344
|
}
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormatDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2345
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2346
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormatDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2287
2347
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
2288
2348
|
{{ textFor('format') }}
|
|
2289
2349
|
</kendo-dialog-titlebar>
|
|
@@ -2308,8 +2368,9 @@ FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
2308
2368
|
(click)="onCancelAction()"
|
|
2309
2369
|
>{{ textFor('dialogCancel') }}</button>
|
|
2310
2370
|
</kendo-dialog-actions>
|
|
2311
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
2312
|
-
|
|
2371
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
2372
|
+
}
|
|
2373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDialogComponent, decorators: [{
|
|
2313
2374
|
type: Component,
|
|
2314
2375
|
args: [{
|
|
2315
2376
|
template: `
|
|
@@ -2360,31 +2421,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2360
2421
|
* ```
|
|
2361
2422
|
*/
|
|
2362
2423
|
class EditorFormatComponent extends ToolBarToolComponent {
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
* Fires when the user updates the value of the drop-down list.
|
|
2373
|
-
*/
|
|
2374
|
-
this.valueChange = new EventEmitter();
|
|
2375
|
-
this._data = [
|
|
2376
|
-
{ text: 'Paragraph', tag: 'p' },
|
|
2377
|
-
{ text: 'Heading 1', tag: 'h1' },
|
|
2378
|
-
{ text: 'Heading 2', tag: 'h2' },
|
|
2379
|
-
{ text: 'Heading 3', tag: 'h3' },
|
|
2380
|
-
{ text: 'Heading 4', tag: 'h4' },
|
|
2381
|
-
{ text: 'Heading 5', tag: 'h5' },
|
|
2382
|
-
{ text: 'Heading 6', tag: 'h6' }
|
|
2383
|
-
];
|
|
2384
|
-
this.applyFormatSVGIcon = applyFormatIcon;
|
|
2385
|
-
this.editor = providerService.editor;
|
|
2386
|
-
this.isBuiltInTool = true;
|
|
2387
|
-
}
|
|
2424
|
+
dialogService;
|
|
2425
|
+
localization;
|
|
2426
|
+
toolsService;
|
|
2427
|
+
renderer;
|
|
2428
|
+
value;
|
|
2429
|
+
defaultItem;
|
|
2430
|
+
itemDisabled;
|
|
2431
|
+
disabled = false;
|
|
2432
|
+
tabindex = -1;
|
|
2388
2433
|
/**
|
|
2389
2434
|
* Overrides the default format items list.
|
|
2390
2435
|
*/
|
|
@@ -2394,6 +2439,33 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
2394
2439
|
get data() {
|
|
2395
2440
|
return this._data;
|
|
2396
2441
|
}
|
|
2442
|
+
/**
|
|
2443
|
+
* Fires when the user updates the value of the drop-down list.
|
|
2444
|
+
*/
|
|
2445
|
+
valueChange = new EventEmitter();
|
|
2446
|
+
formatDropDownList;
|
|
2447
|
+
formatButton;
|
|
2448
|
+
subs;
|
|
2449
|
+
_data = [
|
|
2450
|
+
{ text: 'Paragraph', tag: 'p' },
|
|
2451
|
+
{ text: 'Heading 1', tag: 'h1' },
|
|
2452
|
+
{ text: 'Heading 2', tag: 'h2' },
|
|
2453
|
+
{ text: 'Heading 3', tag: 'h3' },
|
|
2454
|
+
{ text: 'Heading 4', tag: 'h4' },
|
|
2455
|
+
{ text: 'Heading 5', tag: 'h5' },
|
|
2456
|
+
{ text: 'Heading 6', tag: 'h6' }
|
|
2457
|
+
];
|
|
2458
|
+
applyFormatSVGIcon = applyFormatIcon;
|
|
2459
|
+
editor;
|
|
2460
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
2461
|
+
super();
|
|
2462
|
+
this.dialogService = dialogService;
|
|
2463
|
+
this.localization = localization;
|
|
2464
|
+
this.toolsService = toolsService;
|
|
2465
|
+
this.renderer = renderer;
|
|
2466
|
+
this.editor = providerService.editor;
|
|
2467
|
+
this.isBuiltInTool = true;
|
|
2468
|
+
}
|
|
2397
2469
|
ngOnInit() {
|
|
2398
2470
|
this.itemDisabled = (itemArgs) => {
|
|
2399
2471
|
if (!this.overflows && this.formatDropDownList && !this.formatDropDownList.dropDownList.isOpen) {
|
|
@@ -2483,9 +2555,8 @@ class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
2483
2555
|
this.tabindex = -1;
|
|
2484
2556
|
return false;
|
|
2485
2557
|
}
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2488
|
-
EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorFormatComponent, isStandalone: true, 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: `
|
|
2558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2559
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
2489
2560
|
<ng-template #toolbarTemplate>
|
|
2490
2561
|
<kendo-editor-format-dropdownlist
|
|
2491
2562
|
#formatDropDownList
|
|
@@ -2515,7 +2586,8 @@ EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
2515
2586
|
</div>
|
|
2516
2587
|
</ng-template>
|
|
2517
2588
|
`, isInline: true, dependencies: [{ kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2518
|
-
|
|
2589
|
+
}
|
|
2590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
2519
2591
|
type: Component,
|
|
2520
2592
|
args: [{
|
|
2521
2593
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }],
|
|
@@ -2557,12 +2629,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2557
2629
|
type: Input
|
|
2558
2630
|
}], valueChange: [{
|
|
2559
2631
|
type: Output
|
|
2560
|
-
}], toolbarTemplate: [{
|
|
2561
|
-
type: ViewChild,
|
|
2562
|
-
args: ['toolbarTemplate', { static: true }]
|
|
2563
|
-
}], popupTemplate: [{
|
|
2564
|
-
type: ViewChild,
|
|
2565
|
-
args: ['popupTemplate', { static: true }]
|
|
2566
2632
|
}], formatDropDownList: [{
|
|
2567
2633
|
type: ViewChild,
|
|
2568
2634
|
args: ['formatDropDownList']
|
|
@@ -2586,10 +2652,10 @@ class EditorUnderlineButtonDirective extends EditorCommandButton {
|
|
|
2586
2652
|
constructor(button, localization, providerService, toolsService) {
|
|
2587
2653
|
super('underline', button, localization, providerService, toolsService);
|
|
2588
2654
|
}
|
|
2655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2656
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorUnderlineButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
|
|
2589
2657
|
}
|
|
2590
|
-
|
|
2591
|
-
EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorUnderlineButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
|
|
2592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
|
|
2658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
|
|
2593
2659
|
type: Directive,
|
|
2594
2660
|
args: [{
|
|
2595
2661
|
selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]',
|
|
@@ -2612,10 +2678,10 @@ class EditorItalicButtonDirective extends EditorCommandButton {
|
|
|
2612
2678
|
constructor(button, localization, providerService, toolsService) {
|
|
2613
2679
|
super('italic', button, localization, providerService, toolsService);
|
|
2614
2680
|
}
|
|
2681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2682
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorItalicButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
|
|
2615
2683
|
}
|
|
2616
|
-
|
|
2617
|
-
EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorItalicButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
|
|
2618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
|
|
2684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
|
|
2619
2685
|
type: Directive,
|
|
2620
2686
|
args: [{
|
|
2621
2687
|
selector: 'kendo-toolbar-button[kendoEditorItalicButton]',
|
|
@@ -2638,10 +2704,10 @@ class EditorBoldButtonDirective extends EditorCommandButton {
|
|
|
2638
2704
|
constructor(button, localization, providerService, toolsService) {
|
|
2639
2705
|
super('bold', button, localization, providerService, toolsService);
|
|
2640
2706
|
}
|
|
2707
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2708
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBoldButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
|
|
2641
2709
|
}
|
|
2642
|
-
|
|
2643
|
-
EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBoldButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
|
|
2644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
|
|
2710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
|
|
2645
2711
|
type: Directive,
|
|
2646
2712
|
args: [{
|
|
2647
2713
|
selector: 'kendo-toolbar-button[kendoEditorBoldButton]',
|
|
@@ -2653,10 +2719,242 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2653
2719
|
* @hidden
|
|
2654
2720
|
*/
|
|
2655
2721
|
class MessagesDirective extends ComponentMessages {
|
|
2722
|
+
/* Section of Tools Messages */
|
|
2723
|
+
/**
|
|
2724
|
+
* The title of the tool that aligns text in the center.
|
|
2725
|
+
*/
|
|
2726
|
+
alignCenter;
|
|
2727
|
+
/**
|
|
2728
|
+
* The title of the tool that justifies text both left and right.
|
|
2729
|
+
*/
|
|
2730
|
+
alignJustify;
|
|
2731
|
+
/**
|
|
2732
|
+
* The title of the tool that aligns text on the left.
|
|
2733
|
+
*/
|
|
2734
|
+
alignLeft;
|
|
2735
|
+
/**
|
|
2736
|
+
* The title of the tool that aligns text on the right.
|
|
2737
|
+
*/
|
|
2738
|
+
alignRight;
|
|
2739
|
+
/**
|
|
2740
|
+
* The title of the tool that changes the text background color.
|
|
2741
|
+
*/
|
|
2742
|
+
backColor;
|
|
2743
|
+
/**
|
|
2744
|
+
* The title of the tool that wraps an element in a blockquote.
|
|
2745
|
+
*/
|
|
2746
|
+
blockquote;
|
|
2747
|
+
/**
|
|
2748
|
+
* The title of the tool that makes text bold.
|
|
2749
|
+
*/
|
|
2750
|
+
bold;
|
|
2751
|
+
/**
|
|
2752
|
+
* The title of the Clean Formatting tool.
|
|
2753
|
+
*/
|
|
2754
|
+
cleanFormatting;
|
|
2755
|
+
/**
|
|
2756
|
+
* The title of the tool that creates hyperlinks.
|
|
2757
|
+
*/
|
|
2758
|
+
createLink;
|
|
2759
|
+
/**
|
|
2760
|
+
* The title of the tool that changes the text font.
|
|
2761
|
+
*/
|
|
2762
|
+
fontFamily;
|
|
2763
|
+
/**
|
|
2764
|
+
* The title of the tool that changes the text size.
|
|
2765
|
+
*/
|
|
2766
|
+
fontSize;
|
|
2767
|
+
/**
|
|
2768
|
+
* The title of the tool that changes the text color.
|
|
2769
|
+
*/
|
|
2770
|
+
foreColor;
|
|
2771
|
+
/**
|
|
2772
|
+
* The title of the tool that lets users choose block formats.
|
|
2773
|
+
*/
|
|
2774
|
+
format;
|
|
2775
|
+
/**
|
|
2776
|
+
* The title of the tool that indents the content.
|
|
2777
|
+
*/
|
|
2778
|
+
indent;
|
|
2779
|
+
/**
|
|
2780
|
+
* The title of the tool that inserts links to files.
|
|
2781
|
+
*/
|
|
2782
|
+
insertFile;
|
|
2783
|
+
/**
|
|
2784
|
+
* The title of the tool that inserts images.
|
|
2785
|
+
*/
|
|
2786
|
+
insertImage;
|
|
2787
|
+
/**
|
|
2788
|
+
* The title of the tool that inserts an ordered list.
|
|
2789
|
+
*/
|
|
2790
|
+
insertOrderedList;
|
|
2791
|
+
/**
|
|
2792
|
+
* The title of the tool that inserts an unordered list.
|
|
2793
|
+
*/
|
|
2794
|
+
insertUnorderedList;
|
|
2795
|
+
/**
|
|
2796
|
+
* The title of the tool that makes text italicized.
|
|
2797
|
+
*/
|
|
2798
|
+
italic;
|
|
2799
|
+
/**
|
|
2800
|
+
* The title of the tool that outdents the content.
|
|
2801
|
+
*/
|
|
2802
|
+
outdent;
|
|
2803
|
+
/**
|
|
2804
|
+
* The title of the print tool.
|
|
2805
|
+
*/
|
|
2806
|
+
print;
|
|
2807
|
+
/**
|
|
2808
|
+
* The title of the tool that redos the last action.
|
|
2809
|
+
*/
|
|
2810
|
+
redo;
|
|
2811
|
+
/**
|
|
2812
|
+
* The title of the tool that selects all content.
|
|
2813
|
+
*/
|
|
2814
|
+
selectAll;
|
|
2815
|
+
/**
|
|
2816
|
+
* The title of the tool that strikes through text.
|
|
2817
|
+
*/
|
|
2818
|
+
strikethrough;
|
|
2819
|
+
/**
|
|
2820
|
+
* The title of the tool that makes text subscript.
|
|
2821
|
+
*/
|
|
2822
|
+
subscript;
|
|
2823
|
+
/**
|
|
2824
|
+
* The title of the tool that makes text superscript.
|
|
2825
|
+
*/
|
|
2826
|
+
superscript;
|
|
2827
|
+
/**
|
|
2828
|
+
* The title of the tool that underlines text.
|
|
2829
|
+
*/
|
|
2830
|
+
underline;
|
|
2831
|
+
/**
|
|
2832
|
+
* The title of the tool that undos the last action.
|
|
2833
|
+
*/
|
|
2834
|
+
undo;
|
|
2835
|
+
/**
|
|
2836
|
+
* The title of the tool that removes hyperlinks.
|
|
2837
|
+
*/
|
|
2838
|
+
unlink;
|
|
2839
|
+
/**
|
|
2840
|
+
* The title of the tool that shows the editor value as HTML.
|
|
2841
|
+
*/
|
|
2842
|
+
viewSource;
|
|
2843
|
+
/**
|
|
2844
|
+
* The title of the tool that inserts table.
|
|
2845
|
+
*/
|
|
2846
|
+
insertTable;
|
|
2847
|
+
/**
|
|
2848
|
+
* The caption for the hint in the insert table tool.
|
|
2849
|
+
*
|
|
2850
|
+
* The message consists of several parts - the amount of rows, the amount of columns, an `x` separator, and a localizable string.
|
|
2851
|
+
* To allow for reordering its parts, the `insertTableHint` input accepts a string with placeholders for the selected rows, selected columns
|
|
2852
|
+
* and the separator. The `{rows}` and `{columns}` placeholders will be replaced internally with the respective actual values. The `{x}` placeholder
|
|
2853
|
+
* shows a separator only when rows and columns are selected.
|
|
2854
|
+
*/
|
|
2855
|
+
insertTableHint;
|
|
2856
|
+
/**
|
|
2857
|
+
* The title of the tool that adds new column before currently selected column.
|
|
2858
|
+
*/
|
|
2859
|
+
addColumnBefore;
|
|
2860
|
+
/**
|
|
2861
|
+
* The title of the tool that adds new column after currently selected column.
|
|
2862
|
+
*/
|
|
2863
|
+
addColumnAfter;
|
|
2864
|
+
/**
|
|
2865
|
+
* The title of the tool that adds new row before currently selected row.
|
|
2866
|
+
*/
|
|
2867
|
+
addRowBefore;
|
|
2868
|
+
/**
|
|
2869
|
+
* The title of the tool that adds new row after currently selected row.
|
|
2870
|
+
*/
|
|
2871
|
+
addRowAfter;
|
|
2872
|
+
/**
|
|
2873
|
+
* The title of the tool that deletes a table column.
|
|
2874
|
+
*/
|
|
2875
|
+
deleteColumn;
|
|
2876
|
+
/**
|
|
2877
|
+
* The title of the tool that deletes a table row.
|
|
2878
|
+
*/
|
|
2879
|
+
deleteRow;
|
|
2880
|
+
/**
|
|
2881
|
+
* The title of the tool that deletes a table.
|
|
2882
|
+
*/
|
|
2883
|
+
deleteTable;
|
|
2884
|
+
/**
|
|
2885
|
+
* The title of the tool that merges the currently selected cells.
|
|
2886
|
+
*/
|
|
2887
|
+
mergeCells;
|
|
2888
|
+
/**
|
|
2889
|
+
* The title of the tool that splits the currently selected cell.
|
|
2890
|
+
*/
|
|
2891
|
+
splitCell;
|
|
2892
|
+
/* End of Tools Messages Section */
|
|
2893
|
+
/* Section of Dialog Messages */
|
|
2894
|
+
/**
|
|
2895
|
+
* The label of the **Apply** button in all Editor dialogs.
|
|
2896
|
+
*/
|
|
2897
|
+
dialogApply;
|
|
2898
|
+
/**
|
|
2899
|
+
* The label of the **Cancel** button in all editor dialogs.
|
|
2900
|
+
*/
|
|
2901
|
+
dialogCancel;
|
|
2902
|
+
/**
|
|
2903
|
+
* The label of the **Insert** button in all editor dialogs.
|
|
2904
|
+
*/
|
|
2905
|
+
dialogInsert;
|
|
2906
|
+
/**
|
|
2907
|
+
* The label of the **Update** button in all editor dialogs.
|
|
2908
|
+
*/
|
|
2909
|
+
dialogUpdate;
|
|
2910
|
+
/**
|
|
2911
|
+
* The caption for the file text in the insertFile dialog.
|
|
2912
|
+
*/
|
|
2913
|
+
fileText;
|
|
2914
|
+
/**
|
|
2915
|
+
* The caption for the file Title in the insertFile dialog.
|
|
2916
|
+
*/
|
|
2917
|
+
fileTitle;
|
|
2918
|
+
/**
|
|
2919
|
+
* The caption for the file URL in the insertFile dialog.
|
|
2920
|
+
*/
|
|
2921
|
+
fileWebAddress;
|
|
2922
|
+
/**
|
|
2923
|
+
* The caption for the image alternate text in the insertImage dialog.
|
|
2924
|
+
*/
|
|
2925
|
+
imageAltText;
|
|
2926
|
+
/**
|
|
2927
|
+
* The caption for the image height in the insertImage dialog.
|
|
2928
|
+
*/
|
|
2929
|
+
imageHeight;
|
|
2930
|
+
/**
|
|
2931
|
+
* The caption for the image URL in the insertImage dialog.
|
|
2932
|
+
*/
|
|
2933
|
+
imageWebAddress;
|
|
2934
|
+
/**
|
|
2935
|
+
* The caption for the image width in the insertImage dialog.
|
|
2936
|
+
*/
|
|
2937
|
+
imageWidth;
|
|
2938
|
+
/**
|
|
2939
|
+
* The caption for the checkbox for opening the link in a new window in the createLink dialog.
|
|
2940
|
+
*/
|
|
2941
|
+
linkOpenInNewWindow;
|
|
2942
|
+
/**
|
|
2943
|
+
* The caption for the link text in the createLink dialog.
|
|
2944
|
+
*/
|
|
2945
|
+
linkText;
|
|
2946
|
+
/**
|
|
2947
|
+
* The caption for the link title in the createLink dialog.
|
|
2948
|
+
*/
|
|
2949
|
+
linkTitle;
|
|
2950
|
+
/**
|
|
2951
|
+
* The caption for the URL in the createLink dialog.
|
|
2952
|
+
*/
|
|
2953
|
+
linkWebAddress;
|
|
2954
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2955
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MessagesDirective, selector: "[kendoEditorMessages]", inputs: { alignCenter: "alignCenter", alignJustify: "alignJustify", alignLeft: "alignLeft", alignRight: "alignRight", backColor: "backColor", blockquote: "blockquote", bold: "bold", cleanFormatting: "cleanFormatting", createLink: "createLink", fontFamily: "fontFamily", fontSize: "fontSize", foreColor: "foreColor", format: "format", indent: "indent", insertFile: "insertFile", insertImage: "insertImage", insertOrderedList: "insertOrderedList", insertUnorderedList: "insertUnorderedList", italic: "italic", outdent: "outdent", print: "print", redo: "redo", selectAll: "selectAll", strikethrough: "strikethrough", subscript: "subscript", superscript: "superscript", underline: "underline", undo: "undo", unlink: "unlink", viewSource: "viewSource", insertTable: "insertTable", insertTableHint: "insertTableHint", addColumnBefore: "addColumnBefore", addColumnAfter: "addColumnAfter", addRowBefore: "addRowBefore", addRowAfter: "addRowAfter", deleteColumn: "deleteColumn", deleteRow: "deleteRow", deleteTable: "deleteTable", mergeCells: "mergeCells", splitCell: "splitCell", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogInsert: "dialogInsert", dialogUpdate: "dialogUpdate", fileText: "fileText", fileTitle: "fileTitle", fileWebAddress: "fileWebAddress", imageAltText: "imageAltText", imageHeight: "imageHeight", imageWebAddress: "imageWebAddress", imageWidth: "imageWidth", linkOpenInNewWindow: "linkOpenInNewWindow", linkText: "linkText", linkTitle: "linkTitle", linkWebAddress: "linkWebAddress" }, usesInheritance: true, ngImport: i0 });
|
|
2656
2956
|
}
|
|
2657
|
-
|
|
2658
|
-
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MessagesDirective, selector: "[kendoEditorMessages]", inputs: { alignCenter: "alignCenter", alignJustify: "alignJustify", alignLeft: "alignLeft", alignRight: "alignRight", backColor: "backColor", blockquote: "blockquote", bold: "bold", cleanFormatting: "cleanFormatting", createLink: "createLink", fontFamily: "fontFamily", fontSize: "fontSize", foreColor: "foreColor", format: "format", indent: "indent", insertFile: "insertFile", insertImage: "insertImage", insertOrderedList: "insertOrderedList", insertUnorderedList: "insertUnorderedList", italic: "italic", outdent: "outdent", print: "print", redo: "redo", selectAll: "selectAll", strikethrough: "strikethrough", subscript: "subscript", superscript: "superscript", underline: "underline", undo: "undo", unlink: "unlink", viewSource: "viewSource", insertTable: "insertTable", insertTableHint: "insertTableHint", addColumnBefore: "addColumnBefore", addColumnAfter: "addColumnAfter", addRowBefore: "addRowBefore", addRowAfter: "addRowAfter", deleteColumn: "deleteColumn", deleteRow: "deleteRow", deleteTable: "deleteTable", mergeCells: "mergeCells", splitCell: "splitCell", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogInsert: "dialogInsert", dialogUpdate: "dialogUpdate", fileText: "fileText", fileTitle: "fileTitle", fileWebAddress: "fileWebAddress", imageAltText: "imageAltText", imageHeight: "imageHeight", imageWebAddress: "imageWebAddress", imageWidth: "imageWidth", linkOpenInNewWindow: "linkOpenInNewWindow", linkText: "linkText", linkTitle: "linkTitle", linkWebAddress: "linkWebAddress" }, usesInheritance: true, ngImport: i0 });
|
|
2659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
2957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
2660
2958
|
type: Directive,
|
|
2661
2959
|
args: [{
|
|
2662
2960
|
selector: '[kendoEditorMessages]'
|
|
@@ -2779,17 +3077,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2779
3077
|
* @hidden
|
|
2780
3078
|
*/
|
|
2781
3079
|
class LocalizedMessagesDirective extends MessagesDirective {
|
|
3080
|
+
service;
|
|
2782
3081
|
constructor(service) {
|
|
2783
3082
|
super();
|
|
2784
3083
|
this.service = service;
|
|
2785
3084
|
}
|
|
3085
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3086
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoEditorLocalizedMessages]", providers: [{
|
|
3087
|
+
provide: MessagesDirective,
|
|
3088
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
3089
|
+
}], usesInheritance: true, ngImport: i0 });
|
|
2786
3090
|
}
|
|
2787
|
-
|
|
2788
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoEditorLocalizedMessages]", providers: [{
|
|
2789
|
-
provide: MessagesDirective,
|
|
2790
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2791
|
-
}], usesInheritance: true, ngImport: i0 });
|
|
2792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
3091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2793
3092
|
type: Directive,
|
|
2794
3093
|
args: [{
|
|
2795
3094
|
providers: [{
|
|
@@ -2827,160 +3126,14 @@ const getPasteCleanupAttributes = (config) => {
|
|
|
2827
3126
|
* Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
|
|
2828
3127
|
*/
|
|
2829
3128
|
class EditorComponent {
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
this.renderer = renderer;
|
|
2839
|
-
/**
|
|
2840
|
-
* If set to `false`, the Editor will run in style non-encapsulated mode. This means
|
|
2841
|
-
* that the styles of the page will be persisted in the Editor and its content will be affected by them.
|
|
2842
|
-
* @default true
|
|
2843
|
-
*/
|
|
2844
|
-
this.iframe = true;
|
|
2845
|
-
/**
|
|
2846
|
-
* If set to `true` or `ApplyToWordOptions` object, commands that apply emphasis or inline styles will be applied to the whole word the cursor is in.
|
|
2847
|
-
* @default false
|
|
2848
|
-
*/
|
|
2849
|
-
this.applyToWord = false;
|
|
2850
|
-
/**
|
|
2851
|
-
* By default, whitespace is collapsed as per HTML's rules.
|
|
2852
|
-
* Set to `true` to preserve whitespace, but normalize newlines to spaces.
|
|
2853
|
-
* Set to `'full'` to preserve whitespace entirely. In this case the default ProseMirror behavior is to parse white space into nodes.
|
|
2854
|
-
*
|
|
2855
|
-
* @default false
|
|
2856
|
-
*/
|
|
2857
|
-
this.preserveWhitespace = false;
|
|
2858
|
-
/**
|
|
2859
|
-
* Determines whether the Editor can be resized ([see example](slug:resizing_editor#toc-resizing-the-editor)).
|
|
2860
|
-
* @default false
|
|
2861
|
-
*/
|
|
2862
|
-
this.resizable = false;
|
|
2863
|
-
/**
|
|
2864
|
-
* Fires each time the value of the Editor is changed upon user interaction—
|
|
2865
|
-
* for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example](slug:events_editor)).
|
|
2866
|
-
* When the value of the Editor is programmatically changed through its API (`ngModel`) or form binding (`formControl`),
|
|
2867
|
-
* the `valueChange` event is not triggered because it might cause a mix-up with the
|
|
2868
|
-
* built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
|
|
2869
|
-
*/
|
|
2870
|
-
this.valueChange = new EventEmitter();
|
|
2871
|
-
/**
|
|
2872
|
-
* Fires when the content area of the Editor is focused ([see example](slug:events_editor)).
|
|
2873
|
-
*/
|
|
2874
|
-
this.onFocus = new EventEmitter();
|
|
2875
|
-
/**
|
|
2876
|
-
* Fires when the user performs paste in the content area of the Editor ([see example](slug:events_editor)).
|
|
2877
|
-
* The event is preventable. If you cancel it, the Editor content will not change.
|
|
2878
|
-
*/
|
|
2879
|
-
this.paste = new EventEmitter();
|
|
2880
|
-
/**
|
|
2881
|
-
* Fires when the content area of the Editor is blurred ([see example](slug:events_editor)).
|
|
2882
|
-
*/
|
|
2883
|
-
this.onBlur = new EventEmitter();
|
|
2884
|
-
this.hostClass = true;
|
|
2885
|
-
/**
|
|
2886
|
-
* @hidden
|
|
2887
|
-
*/
|
|
2888
|
-
this.stateChange = new BehaviorSubject(initialToolBarState);
|
|
2889
|
-
/**
|
|
2890
|
-
* @hidden
|
|
2891
|
-
*/
|
|
2892
|
-
this.showLicenseWatermark = false;
|
|
2893
|
-
/**
|
|
2894
|
-
* @hidden
|
|
2895
|
-
*/
|
|
2896
|
-
this.valueModified = new Subject();
|
|
2897
|
-
/**
|
|
2898
|
-
* @hidden
|
|
2899
|
-
*/
|
|
2900
|
-
this.focusableId = `k-editor-${guid()}`;
|
|
2901
|
-
this._readonly = false;
|
|
2902
|
-
this._placeholder = '';
|
|
2903
|
-
this.inForm = false;
|
|
2904
|
-
this._iframeCss = { keepBuiltInCss: true };
|
|
2905
|
-
this.afterViewInit = new Subject();
|
|
2906
|
-
this.contentAreaLoaded = new Subject();
|
|
2907
|
-
this.dispatchTransaction = (tr) => {
|
|
2908
|
-
const docChanged = tr.docChanged;
|
|
2909
|
-
if (this.disabled || (this.readonly && docChanged)) {
|
|
2910
|
-
return;
|
|
2911
|
-
}
|
|
2912
|
-
if (docChanged) {
|
|
2913
|
-
const doc = tr.doc;
|
|
2914
|
-
const html = getHtml({ doc });
|
|
2915
|
-
this.trOnChange = tr;
|
|
2916
|
-
this.htmlOnChange = html;
|
|
2917
|
-
this.ngZone.run(() => {
|
|
2918
|
-
this.valueModified.next(html === EMPTY_PARAGRAPH ? '' : html);
|
|
2919
|
-
});
|
|
2920
|
-
}
|
|
2921
|
-
if (!docChanged || this.inForm) {
|
|
2922
|
-
this.view.updateState(this.view.state.apply(tr));
|
|
2923
|
-
this.trOnChange = null;
|
|
2924
|
-
}
|
|
2925
|
-
};
|
|
2926
|
-
this.transformPastedContent = (dirtyHtml, plainText) => {
|
|
2927
|
-
if (plainText) {
|
|
2928
|
-
return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
|
|
2929
|
-
}
|
|
2930
|
-
const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
|
|
2931
|
-
const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
|
|
2932
|
-
const clean = pasteCleanup(html, {
|
|
2933
|
-
convertMsLists: pasteCleanupSettings.convertMsLists,
|
|
2934
|
-
stripTags: pasteCleanupSettings.stripTags.join('|'),
|
|
2935
|
-
attributes: getPasteCleanupAttributes(pasteCleanupSettings)
|
|
2936
|
-
});
|
|
2937
|
-
return this.dispatchPasteEvent(dirtyHtml, clean);
|
|
2938
|
-
};
|
|
2939
|
-
this.transformPastedHTML = (html) => this.transformPastedContent(html);
|
|
2940
|
-
this.transformPastedText = (html) => this.transformPastedContent(html, true);
|
|
2941
|
-
this.changeValue = (value) => {
|
|
2942
|
-
const prev = this._value;
|
|
2943
|
-
this._value = value;
|
|
2944
|
-
if (!this._view) {
|
|
2945
|
-
return;
|
|
2946
|
-
}
|
|
2947
|
-
if (this.htmlOnChange === value && this.trOnChange) {
|
|
2948
|
-
this.view.updateState(this.view.state.apply(this.trOnChange));
|
|
2949
|
-
}
|
|
2950
|
-
else {
|
|
2951
|
-
const newValue = (prev || '') !== (value || '');
|
|
2952
|
-
const formReset = (this.inForm && !value);
|
|
2953
|
-
if (newValue || formReset) {
|
|
2954
|
-
const iframeContentWindowNotPresent = this.iframe && !this.container.element.nativeElement.contentWindow;
|
|
2955
|
-
if (iframeContentWindowNotPresent) {
|
|
2956
|
-
return;
|
|
2957
|
-
}
|
|
2958
|
-
const state = this.view.state;
|
|
2959
|
-
const nextDoc = parseContent(value || '', state.schema, { preserveWhitespace: this.preserveWhitespace });
|
|
2960
|
-
const tr = state.tr
|
|
2961
|
-
.setSelection(new AllSelection(state.doc))
|
|
2962
|
-
.replaceSelectionWith(nextDoc);
|
|
2963
|
-
this.view.updateState(state.apply(tr));
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
this.trOnChange = null;
|
|
2967
|
-
this.htmlOnChange = null;
|
|
2968
|
-
};
|
|
2969
|
-
this.onChangeCallback = (value) => {
|
|
2970
|
-
this.changeValue(value);
|
|
2971
|
-
};
|
|
2972
|
-
this.onTouchedCallback = (_) => { };
|
|
2973
|
-
this.onPaste = (_view, nativeEvent) => {
|
|
2974
|
-
this._pasteEvent = nativeEvent;
|
|
2975
|
-
return false;
|
|
2976
|
-
};
|
|
2977
|
-
const isValid = validatePackage(packageMetadata);
|
|
2978
|
-
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
2979
|
-
this.providerService.editor = this;
|
|
2980
|
-
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
2981
|
-
// https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
|
|
2982
|
-
this.subs = zip(this.afterViewInit.asObservable(), this.contentAreaLoaded.asObservable()).subscribe(() => this.initialize());
|
|
2983
|
-
}
|
|
3129
|
+
dialogService;
|
|
3130
|
+
localization;
|
|
3131
|
+
cdr;
|
|
3132
|
+
ngZone;
|
|
3133
|
+
element;
|
|
3134
|
+
providerService;
|
|
3135
|
+
toolsService;
|
|
3136
|
+
renderer;
|
|
2984
3137
|
/**
|
|
2985
3138
|
* Sets the value of the Editor ([see example](slug:overview_editor)).
|
|
2986
3139
|
*/
|
|
@@ -3061,6 +3214,12 @@ class EditorComponent {
|
|
|
3061
3214
|
get readonly() {
|
|
3062
3215
|
return this._readonly;
|
|
3063
3216
|
}
|
|
3217
|
+
/**
|
|
3218
|
+
* If set to `false`, the Editor will run in style non-encapsulated mode. This means
|
|
3219
|
+
* that the styles of the page will be persisted in the Editor and its content will be affected by them.
|
|
3220
|
+
* @default true
|
|
3221
|
+
*/
|
|
3222
|
+
iframe = true;
|
|
3064
3223
|
/**
|
|
3065
3224
|
* Allows applying custom CSS styles to the Editor in iframe mode.
|
|
3066
3225
|
*/
|
|
@@ -3070,6 +3229,11 @@ class EditorComponent {
|
|
|
3070
3229
|
get iframeCss() {
|
|
3071
3230
|
return this._iframeCss;
|
|
3072
3231
|
}
|
|
3232
|
+
/**
|
|
3233
|
+
* If set to `true` or `ApplyToWordOptions` object, commands that apply emphasis or inline styles will be applied to the whole word the cursor is in.
|
|
3234
|
+
* @default false
|
|
3235
|
+
*/
|
|
3236
|
+
applyToWord = false;
|
|
3073
3237
|
/**
|
|
3074
3238
|
* Allows providing a custom schema. ([see example]({% slug schema_editor %}))
|
|
3075
3239
|
*/
|
|
@@ -3118,6 +3282,45 @@ class EditorComponent {
|
|
|
3118
3282
|
get placeholder() {
|
|
3119
3283
|
return this._placeholder;
|
|
3120
3284
|
}
|
|
3285
|
+
/**
|
|
3286
|
+
* By default, whitespace is collapsed as per HTML's rules.
|
|
3287
|
+
* Set to `true` to preserve whitespace, but normalize newlines to spaces.
|
|
3288
|
+
* Set to `'full'` to preserve whitespace entirely. In this case the default ProseMirror behavior is to parse white space into nodes.
|
|
3289
|
+
*
|
|
3290
|
+
* @default false
|
|
3291
|
+
*/
|
|
3292
|
+
preserveWhitespace = false;
|
|
3293
|
+
/**
|
|
3294
|
+
* Configures how pasted content is modified before it is added to the Editor ([see example]({% slug paste_cleanup %})).
|
|
3295
|
+
*/
|
|
3296
|
+
pasteCleanupSettings;
|
|
3297
|
+
/**
|
|
3298
|
+
* Determines whether the Editor can be resized ([see example](slug:resizing_editor#toc-resizing-the-editor)).
|
|
3299
|
+
* @default false
|
|
3300
|
+
*/
|
|
3301
|
+
resizable = false;
|
|
3302
|
+
/**
|
|
3303
|
+
* Fires each time the value of the Editor is changed upon user interaction—
|
|
3304
|
+
* for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example](slug:events_editor)).
|
|
3305
|
+
* When the value of the Editor is programmatically changed through its API (`ngModel`) or form binding (`formControl`),
|
|
3306
|
+
* the `valueChange` event is not triggered because it might cause a mix-up with the
|
|
3307
|
+
* built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
|
|
3308
|
+
*/
|
|
3309
|
+
valueChange = new EventEmitter();
|
|
3310
|
+
/**
|
|
3311
|
+
* Fires when the content area of the Editor is focused ([see example](slug:events_editor)).
|
|
3312
|
+
*/
|
|
3313
|
+
onFocus = new EventEmitter();
|
|
3314
|
+
/**
|
|
3315
|
+
* Fires when the user performs paste in the content area of the Editor ([see example](slug:events_editor)).
|
|
3316
|
+
* The event is preventable. If you cancel it, the Editor content will not change.
|
|
3317
|
+
*/
|
|
3318
|
+
paste = new EventEmitter();
|
|
3319
|
+
/**
|
|
3320
|
+
* Fires when the content area of the Editor is blurred ([see example](slug:events_editor)).
|
|
3321
|
+
*/
|
|
3322
|
+
onBlur = new EventEmitter();
|
|
3323
|
+
hostClass = true;
|
|
3121
3324
|
get resizableClass() {
|
|
3122
3325
|
return !!this.resizable;
|
|
3123
3326
|
}
|
|
@@ -3152,6 +3355,14 @@ class EditorComponent {
|
|
|
3152
3355
|
const resizableOptions = this.resizable;
|
|
3153
3356
|
return resizableOptions.maxHeight ? resizableOptions.maxHeight + 'px' : undefined;
|
|
3154
3357
|
}
|
|
3358
|
+
/**
|
|
3359
|
+
* @hidden
|
|
3360
|
+
*/
|
|
3361
|
+
stateChange = new BehaviorSubject(initialToolBarState);
|
|
3362
|
+
/**
|
|
3363
|
+
* @hidden
|
|
3364
|
+
*/
|
|
3365
|
+
showLicenseWatermark = false;
|
|
3155
3366
|
get toolbar() {
|
|
3156
3367
|
return this.defaultToolbarComponent || this.userToolBarComponent;
|
|
3157
3368
|
}
|
|
@@ -3171,6 +3382,63 @@ class EditorComponent {
|
|
|
3171
3382
|
get selectionText() {
|
|
3172
3383
|
return this._view && this._view.state ? getSelectionText$1(this._view.state) : '';
|
|
3173
3384
|
}
|
|
3385
|
+
/**
|
|
3386
|
+
* @hidden
|
|
3387
|
+
*/
|
|
3388
|
+
valueModified = new Subject();
|
|
3389
|
+
userToolBarComponent;
|
|
3390
|
+
userToolBarElement;
|
|
3391
|
+
dialogContainer;
|
|
3392
|
+
// Use `ViewContainerRef` instead of `ElementRef` because the dialog expects `ViewContainerRef`.
|
|
3393
|
+
container;
|
|
3394
|
+
direction;
|
|
3395
|
+
viewMountElement;
|
|
3396
|
+
/**
|
|
3397
|
+
* @hidden
|
|
3398
|
+
*/
|
|
3399
|
+
focusChangedProgrammatically;
|
|
3400
|
+
/**
|
|
3401
|
+
* @hidden
|
|
3402
|
+
*/
|
|
3403
|
+
shouldEmitFocus;
|
|
3404
|
+
/**
|
|
3405
|
+
* @hidden
|
|
3406
|
+
*/
|
|
3407
|
+
focusableId = `k-editor-${guid()}`;
|
|
3408
|
+
defaultToolbar;
|
|
3409
|
+
defaultToolbarComponent;
|
|
3410
|
+
subs;
|
|
3411
|
+
_view;
|
|
3412
|
+
_value;
|
|
3413
|
+
_disabled;
|
|
3414
|
+
_readonly = false;
|
|
3415
|
+
_schema;
|
|
3416
|
+
_plugins;
|
|
3417
|
+
_placeholder = '';
|
|
3418
|
+
_styleObserver;
|
|
3419
|
+
trOnChange;
|
|
3420
|
+
htmlOnChange;
|
|
3421
|
+
inForm = false;
|
|
3422
|
+
_pasteEvent;
|
|
3423
|
+
_iframeCss = { keepBuiltInCss: true };
|
|
3424
|
+
afterViewInit = new Subject();
|
|
3425
|
+
contentAreaLoaded = new Subject();
|
|
3426
|
+
constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService, renderer) {
|
|
3427
|
+
this.dialogService = dialogService;
|
|
3428
|
+
this.localization = localization;
|
|
3429
|
+
this.cdr = cdr;
|
|
3430
|
+
this.ngZone = ngZone;
|
|
3431
|
+
this.element = element;
|
|
3432
|
+
this.providerService = providerService;
|
|
3433
|
+
this.toolsService = toolsService;
|
|
3434
|
+
this.renderer = renderer;
|
|
3435
|
+
const isValid = validatePackage(packageMetadata);
|
|
3436
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
3437
|
+
this.providerService.editor = this;
|
|
3438
|
+
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
3439
|
+
// https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
|
|
3440
|
+
this.subs = zip(this.afterViewInit.asObservable(), this.contentAreaLoaded.asObservable()).subscribe(() => this.initialize());
|
|
3441
|
+
}
|
|
3174
3442
|
ngOnInit() {
|
|
3175
3443
|
this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
|
|
3176
3444
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
@@ -3502,6 +3770,71 @@ class EditorComponent {
|
|
|
3502
3770
|
.pipe(filter$1((event) => !this.viewMountElement.contains(event.relatedTarget)))
|
|
3503
3771
|
.subscribe(() => this.onTouchedCallback()));
|
|
3504
3772
|
}
|
|
3773
|
+
dispatchTransaction = (tr) => {
|
|
3774
|
+
const docChanged = tr.docChanged;
|
|
3775
|
+
if (this.disabled || (this.readonly && docChanged)) {
|
|
3776
|
+
return;
|
|
3777
|
+
}
|
|
3778
|
+
if (docChanged) {
|
|
3779
|
+
const doc = tr.doc;
|
|
3780
|
+
const html = getHtml({ doc });
|
|
3781
|
+
this.trOnChange = tr;
|
|
3782
|
+
this.htmlOnChange = html;
|
|
3783
|
+
this.ngZone.run(() => {
|
|
3784
|
+
this.valueModified.next(html === EMPTY_PARAGRAPH ? '' : html);
|
|
3785
|
+
});
|
|
3786
|
+
}
|
|
3787
|
+
if (!docChanged || this.inForm) {
|
|
3788
|
+
this.view.updateState(this.view.state.apply(tr));
|
|
3789
|
+
this.trOnChange = null;
|
|
3790
|
+
}
|
|
3791
|
+
};
|
|
3792
|
+
transformPastedContent = (dirtyHtml, plainText) => {
|
|
3793
|
+
if (plainText) {
|
|
3794
|
+
return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
|
|
3795
|
+
}
|
|
3796
|
+
const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
|
|
3797
|
+
const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
|
|
3798
|
+
const clean = pasteCleanup(html, {
|
|
3799
|
+
convertMsLists: pasteCleanupSettings.convertMsLists,
|
|
3800
|
+
stripTags: pasteCleanupSettings.stripTags.join('|'),
|
|
3801
|
+
attributes: getPasteCleanupAttributes(pasteCleanupSettings)
|
|
3802
|
+
});
|
|
3803
|
+
return this.dispatchPasteEvent(dirtyHtml, clean);
|
|
3804
|
+
};
|
|
3805
|
+
transformPastedHTML = (html) => this.transformPastedContent(html);
|
|
3806
|
+
transformPastedText = (html) => this.transformPastedContent(html, true);
|
|
3807
|
+
changeValue = (value) => {
|
|
3808
|
+
const prev = this._value;
|
|
3809
|
+
this._value = value;
|
|
3810
|
+
if (!this._view) {
|
|
3811
|
+
return;
|
|
3812
|
+
}
|
|
3813
|
+
if (this.htmlOnChange === value && this.trOnChange) {
|
|
3814
|
+
this.view.updateState(this.view.state.apply(this.trOnChange));
|
|
3815
|
+
}
|
|
3816
|
+
else {
|
|
3817
|
+
const newValue = (prev || '') !== (value || '');
|
|
3818
|
+
const formReset = (this.inForm && !value);
|
|
3819
|
+
if (newValue || formReset) {
|
|
3820
|
+
const iframeContentWindowNotPresent = this.iframe && !this.container.element.nativeElement.contentWindow;
|
|
3821
|
+
if (iframeContentWindowNotPresent) {
|
|
3822
|
+
return;
|
|
3823
|
+
}
|
|
3824
|
+
const state = this.view.state;
|
|
3825
|
+
const nextDoc = parseContent(value || '', state.schema, { preserveWhitespace: this.preserveWhitespace });
|
|
3826
|
+
const tr = state.tr
|
|
3827
|
+
.setSelection(new AllSelection(state.doc))
|
|
3828
|
+
.replaceSelectionWith(nextDoc);
|
|
3829
|
+
this.view.updateState(state.apply(tr));
|
|
3830
|
+
}
|
|
3831
|
+
}
|
|
3832
|
+
this.trOnChange = null;
|
|
3833
|
+
this.htmlOnChange = null;
|
|
3834
|
+
};
|
|
3835
|
+
onChangeCallback = (value) => {
|
|
3836
|
+
this.changeValue(value);
|
|
3837
|
+
};
|
|
3505
3838
|
normalizeSize() {
|
|
3506
3839
|
if (typeof this.resizable === 'object' && !this._styleObserver) {
|
|
3507
3840
|
const element = this.element.nativeElement;
|
|
@@ -3543,38 +3876,45 @@ class EditorComponent {
|
|
|
3543
3876
|
}
|
|
3544
3877
|
});
|
|
3545
3878
|
}
|
|
3879
|
+
onTouchedCallback = (_) => { };
|
|
3880
|
+
onPaste = (_view, nativeEvent) => {
|
|
3881
|
+
this._pasteEvent = nativeEvent;
|
|
3882
|
+
return false;
|
|
3883
|
+
};
|
|
3546
3884
|
dispatchPasteEvent(originalContent, cleanContent) {
|
|
3547
3885
|
if (hasObservers(this.paste)) {
|
|
3886
|
+
if (!this.iframe) {
|
|
3887
|
+
this._pasteEvent.stopImmediatePropagation();
|
|
3888
|
+
}
|
|
3548
3889
|
const event = new EditorPasteEvent(cleanContent, originalContent, this._pasteEvent);
|
|
3549
3890
|
this.ngZone.run(() => this.paste.emit(event));
|
|
3550
3891
|
return event.isDefaultPrevented() ? '' : event.cleanedHtml;
|
|
3551
3892
|
}
|
|
3552
3893
|
return cleanContent;
|
|
3553
3894
|
}
|
|
3554
|
-
}
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
}
|
|
3577
|
-
], queries: [{ propertyName: "userToolBarComponent", first: true, predicate: ToolBarComponent, descendants: true }, { propertyName: "userToolBarElement", first: true, predicate: ToolBarComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["dialogsContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "container", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultToolbar", first: true, predicate: ["defaultToolbar"], descendants: true, read: ElementRef }, { propertyName: "defaultToolbarComponent", first: true, predicate: ["defaultToolbar"], descendants: true, read: ToolBarComponent }], usesOnChanges: true, ngImport: i0, template: `
|
|
3895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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 });
|
|
3896
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "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: [
|
|
3897
|
+
EditorLocalizationService,
|
|
3898
|
+
ProviderService,
|
|
3899
|
+
EditorToolsService,
|
|
3900
|
+
{
|
|
3901
|
+
provide: LocalizationService,
|
|
3902
|
+
useExisting: EditorLocalizationService
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
provide: L10N_PREFIX,
|
|
3906
|
+
useValue: 'kendo.editor'
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3910
|
+
useExisting: forwardRef(() => EditorComponent),
|
|
3911
|
+
multi: true
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
provide: KendoInput,
|
|
3915
|
+
useExisting: forwardRef(() => EditorComponent)
|
|
3916
|
+
}
|
|
3917
|
+
], queries: [{ propertyName: "userToolBarComponent", first: true, predicate: ToolBarComponent, descendants: true }, { propertyName: "userToolBarElement", first: true, predicate: ToolBarComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["dialogsContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "container", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultToolbar", first: true, predicate: ["defaultToolbar"], descendants: true, read: ElementRef }, { propertyName: "defaultToolbarComponent", first: true, predicate: ["defaultToolbar"], descendants: true, read: ToolBarComponent }], usesOnChanges: true, ngImport: i0, template: `
|
|
3578
3918
|
<ng-container
|
|
3579
3919
|
kendoEditorLocalizedMessages
|
|
3580
3920
|
i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
|
|
@@ -3733,8 +4073,9 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
3733
4073
|
<ng-container #dialogsContainer></ng-container>
|
|
3734
4074
|
|
|
3735
4075
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3736
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
3737
|
-
|
|
4076
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
4077
|
+
}
|
|
4078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorComponent, decorators: [{
|
|
3738
4079
|
type: Component,
|
|
3739
4080
|
args: [{
|
|
3740
4081
|
selector: 'kendo-editor',
|
|
@@ -4015,6 +4356,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4015
4356
|
* @hidden
|
|
4016
4357
|
*/
|
|
4017
4358
|
class ColorPickerDialogComponent extends DialogContentBase {
|
|
4359
|
+
dialog;
|
|
4360
|
+
localization;
|
|
4361
|
+
editor;
|
|
4362
|
+
colorPicker;
|
|
4363
|
+
value;
|
|
4364
|
+
title;
|
|
4365
|
+
editorCommand;
|
|
4366
|
+
paletteSettings;
|
|
4367
|
+
icon;
|
|
4368
|
+
svgIcon;
|
|
4369
|
+
view;
|
|
4370
|
+
views;
|
|
4018
4371
|
constructor(dialog, localization) {
|
|
4019
4372
|
super(dialog);
|
|
4020
4373
|
this.dialog = dialog;
|
|
@@ -4049,9 +4402,8 @@ class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
4049
4402
|
textFor(key) {
|
|
4050
4403
|
return this.localization.get(key);
|
|
4051
4404
|
}
|
|
4052
|
-
}
|
|
4053
|
-
|
|
4054
|
-
ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorPickerDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4406
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColorPickerDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4055
4407
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4056
4408
|
{{ textFor(editorCommand) }}
|
|
4057
4409
|
</kendo-dialog-titlebar>
|
|
@@ -4081,8 +4433,9 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4081
4433
|
(click)="onCancelAction()"
|
|
4082
4434
|
>{{ textFor('dialogCancel') }}</button>
|
|
4083
4435
|
</kendo-dialog-actions>
|
|
4084
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: 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", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
4085
|
-
|
|
4436
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: 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", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4437
|
+
}
|
|
4438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
|
|
4086
4439
|
type: Component,
|
|
4087
4440
|
args: [{
|
|
4088
4441
|
template: `
|
|
@@ -4130,18 +4483,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4130
4483
|
* @hidden
|
|
4131
4484
|
*/
|
|
4132
4485
|
class FontFamilyDropDownListComponent {
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4486
|
+
data;
|
|
4487
|
+
value;
|
|
4488
|
+
defaultItem;
|
|
4489
|
+
itemDisabled;
|
|
4490
|
+
title;
|
|
4491
|
+
disabled;
|
|
4492
|
+
tabindex;
|
|
4493
|
+
valueChange = new EventEmitter();
|
|
4494
|
+
element;
|
|
4495
|
+
dropDownList;
|
|
4136
4496
|
onValueChange(tag) {
|
|
4137
4497
|
this.valueChange.emit(tag);
|
|
4138
4498
|
}
|
|
4139
4499
|
focus() {
|
|
4140
4500
|
this.dropDownList.focus();
|
|
4141
4501
|
}
|
|
4142
|
-
}
|
|
4143
|
-
|
|
4144
|
-
FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontFamilyDropDownListComponent, isStandalone: true, selector: "kendo-editor-fontfamily-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
|
|
4502
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4503
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontFamilyDropDownListComponent, isStandalone: true, selector: "kendo-editor-fontfamily-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
|
|
4145
4504
|
<kendo-dropdownlist
|
|
4146
4505
|
#element
|
|
4147
4506
|
kendoEditorDropDownTool
|
|
@@ -4165,7 +4524,8 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
4165
4524
|
</ng-template>
|
|
4166
4525
|
</kendo-dropdownlist>
|
|
4167
4526
|
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
4168
|
-
|
|
4527
|
+
}
|
|
4528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
|
|
4169
4529
|
type: Component,
|
|
4170
4530
|
args: [{
|
|
4171
4531
|
selector: 'kendo-editor-fontfamily-dropdownlist',
|
|
@@ -4224,11 +4584,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4224
4584
|
* @hidden
|
|
4225
4585
|
*/
|
|
4226
4586
|
class FontFamilyDialogComponent extends DialogContentBase {
|
|
4587
|
+
dialog;
|
|
4588
|
+
localization;
|
|
4589
|
+
editor;
|
|
4590
|
+
fontFamilyDropDownList;
|
|
4591
|
+
data = [];
|
|
4592
|
+
defaultItem;
|
|
4593
|
+
value;
|
|
4594
|
+
itemDisabled;
|
|
4227
4595
|
constructor(dialog, localization) {
|
|
4228
4596
|
super(dialog);
|
|
4229
4597
|
this.dialog = dialog;
|
|
4230
4598
|
this.localization = localization;
|
|
4231
|
-
this.data = [];
|
|
4232
4599
|
}
|
|
4233
4600
|
onCancelAction() {
|
|
4234
4601
|
this.dialog.close();
|
|
@@ -4249,9 +4616,8 @@ class FontFamilyDialogComponent extends DialogContentBase {
|
|
|
4249
4616
|
textFor(key) {
|
|
4250
4617
|
return this.localization.get(key);
|
|
4251
4618
|
}
|
|
4252
|
-
}
|
|
4253
|
-
|
|
4254
|
-
FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontFamilyDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4619
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4620
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontFamilyDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4255
4621
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4256
4622
|
{{ textFor('fontFamily') }}
|
|
4257
4623
|
</kendo-dialog-titlebar>
|
|
@@ -4276,8 +4642,9 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
4276
4642
|
(click)="onCancelAction()"
|
|
4277
4643
|
>{{ textFor('dialogCancel') }}</button>
|
|
4278
4644
|
</kendo-dialog-actions>
|
|
4279
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
4280
|
-
|
|
4645
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4646
|
+
}
|
|
4647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
|
|
4281
4648
|
type: Component,
|
|
4282
4649
|
args: [{
|
|
4283
4650
|
template: `
|
|
@@ -4320,14 +4687,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4320
4687
|
* @hidden
|
|
4321
4688
|
*/
|
|
4322
4689
|
class PopupTableGridComponent {
|
|
4690
|
+
localization;
|
|
4691
|
+
cellClick = new EventEmitter();
|
|
4692
|
+
tableWizardClick = new EventEmitter();
|
|
4693
|
+
tableWizardIcon = tableWizardIcon;
|
|
4694
|
+
state = { rows: -1, cols: -1 };
|
|
4695
|
+
rows = 6;
|
|
4696
|
+
cols = 8;
|
|
4323
4697
|
constructor(localization) {
|
|
4324
4698
|
this.localization = localization;
|
|
4325
|
-
this.cellClick = new EventEmitter();
|
|
4326
|
-
this.tableWizardClick = new EventEmitter();
|
|
4327
|
-
this.tableWizardIcon = tableWizardIcon;
|
|
4328
|
-
this.state = { rows: -1, cols: -1 };
|
|
4329
|
-
this.rows = 6;
|
|
4330
|
-
this.cols = 8;
|
|
4331
4699
|
}
|
|
4332
4700
|
get message() {
|
|
4333
4701
|
const { rows, cols } = this.state;
|
|
@@ -4364,9 +4732,8 @@ class PopupTableGridComponent {
|
|
|
4364
4732
|
openTableWizard() {
|
|
4365
4733
|
this.tableWizardClick.emit();
|
|
4366
4734
|
}
|
|
4367
|
-
}
|
|
4368
|
-
|
|
4369
|
-
PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
|
|
4735
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4736
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
|
|
4370
4737
|
<div
|
|
4371
4738
|
[style.border-color]="'inherit'"
|
|
4372
4739
|
class="k-ct-popup"
|
|
@@ -4386,7 +4753,8 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
4386
4753
|
</div>
|
|
4387
4754
|
-->
|
|
4388
4755
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4389
|
-
|
|
4756
|
+
}
|
|
4757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PopupTableGridComponent, decorators: [{
|
|
4390
4758
|
type: Component,
|
|
4391
4759
|
args: [{
|
|
4392
4760
|
selector: 'kendo-popup-table-grid',
|
|
@@ -4423,6 +4791,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4423
4791
|
* @hidden
|
|
4424
4792
|
*/
|
|
4425
4793
|
class InsertTableDialogComponent extends DialogContentBase {
|
|
4794
|
+
dialog;
|
|
4795
|
+
localization;
|
|
4796
|
+
editor;
|
|
4426
4797
|
constructor(dialog, localization) {
|
|
4427
4798
|
super(dialog);
|
|
4428
4799
|
this.dialog = dialog;
|
|
@@ -4443,9 +4814,8 @@ class InsertTableDialogComponent extends DialogContentBase {
|
|
|
4443
4814
|
textFor(key) {
|
|
4444
4815
|
return this.localization.get(key);
|
|
4445
4816
|
}
|
|
4446
|
-
}
|
|
4447
|
-
|
|
4448
|
-
InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
|
|
4817
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4818
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
|
|
4449
4819
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4450
4820
|
{{ textFor('insertTable') }}
|
|
4451
4821
|
</kendo-dialog-titlebar>
|
|
@@ -4458,8 +4828,9 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4458
4828
|
(click)="onCancelAction()"
|
|
4459
4829
|
>{{ textFor('dialogCancel') }}</button>
|
|
4460
4830
|
</kendo-dialog-actions>
|
|
4461
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
4462
|
-
|
|
4831
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4832
|
+
}
|
|
4833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
|
|
4463
4834
|
type: Component,
|
|
4464
4835
|
args: [{
|
|
4465
4836
|
template: `
|
|
@@ -4487,18 +4858,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4487
4858
|
* @hidden
|
|
4488
4859
|
*/
|
|
4489
4860
|
class FontSizeDropDownListComponent {
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4861
|
+
data;
|
|
4862
|
+
value;
|
|
4863
|
+
defaultItem;
|
|
4864
|
+
itemDisabled;
|
|
4865
|
+
title;
|
|
4866
|
+
disabled;
|
|
4867
|
+
tabindex;
|
|
4868
|
+
valueChange = new EventEmitter();
|
|
4869
|
+
element;
|
|
4870
|
+
dropDownList;
|
|
4493
4871
|
onValueChange(size) {
|
|
4494
4872
|
this.valueChange.emit(size);
|
|
4495
4873
|
}
|
|
4496
4874
|
focus() {
|
|
4497
4875
|
this.dropDownList.focus();
|
|
4498
4876
|
}
|
|
4499
|
-
}
|
|
4500
|
-
|
|
4501
|
-
FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontSizeDropDownListComponent, isStandalone: true, selector: "kendo-editor-fontsize-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
|
|
4877
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4878
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontSizeDropDownListComponent, isStandalone: true, selector: "kendo-editor-fontsize-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
|
|
4502
4879
|
<kendo-dropdownlist
|
|
4503
4880
|
#element
|
|
4504
4881
|
kendoEditorDropDownTool
|
|
@@ -4517,7 +4894,8 @@ FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
4517
4894
|
>
|
|
4518
4895
|
</kendo-dropdownlist>
|
|
4519
4896
|
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }] });
|
|
4520
|
-
|
|
4897
|
+
}
|
|
4898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
|
|
4521
4899
|
type: Component,
|
|
4522
4900
|
args: [{
|
|
4523
4901
|
selector: 'kendo-editor-fontsize-dropdownlist',
|
|
@@ -4571,11 +4949,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4571
4949
|
* @hidden
|
|
4572
4950
|
*/
|
|
4573
4951
|
class FontSizeDialogComponent extends DialogContentBase {
|
|
4952
|
+
dialog;
|
|
4953
|
+
localization;
|
|
4954
|
+
editor;
|
|
4955
|
+
fontSizeDropDownList;
|
|
4956
|
+
data = [];
|
|
4957
|
+
defaultItem;
|
|
4958
|
+
value;
|
|
4959
|
+
itemDisabled;
|
|
4574
4960
|
constructor(dialog, localization) {
|
|
4575
4961
|
super(dialog);
|
|
4576
4962
|
this.dialog = dialog;
|
|
4577
4963
|
this.localization = localization;
|
|
4578
|
-
this.data = [];
|
|
4579
4964
|
}
|
|
4580
4965
|
onCancelAction() {
|
|
4581
4966
|
this.dialog.close();
|
|
@@ -4596,9 +4981,8 @@ class FontSizeDialogComponent extends DialogContentBase {
|
|
|
4596
4981
|
textFor(key) {
|
|
4597
4982
|
return this.localization.get(key);
|
|
4598
4983
|
}
|
|
4599
|
-
}
|
|
4600
|
-
|
|
4601
|
-
FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontSizeDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4984
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4985
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontSizeDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4602
4986
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4603
4987
|
{{ textFor('fontSize') }}
|
|
4604
4988
|
</kendo-dialog-titlebar>
|
|
@@ -4623,8 +5007,9 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
4623
5007
|
(click)="onCancelAction()"
|
|
4624
5008
|
>{{ textFor('dialogCancel') }}</button>
|
|
4625
5009
|
</kendo-dialog-actions>
|
|
4626
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
4627
|
-
|
|
5010
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
5011
|
+
}
|
|
5012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
|
|
4628
5013
|
type: Component,
|
|
4629
5014
|
args: [{
|
|
4630
5015
|
template: `
|
|
@@ -4675,31 +5060,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4675
5060
|
* ```
|
|
4676
5061
|
*/
|
|
4677
5062
|
class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
this.tabindex = -1;
|
|
4686
|
-
/**
|
|
4687
|
-
* Fires when the user updates the value of the drop-down list.
|
|
4688
|
-
*/
|
|
4689
|
-
this.valueChange = new EventEmitter();
|
|
4690
|
-
this.fontSizeSVGIcon = fontSizeIcon;
|
|
4691
|
-
this._data = [
|
|
4692
|
-
{ text: '8px', size: '8px' },
|
|
4693
|
-
{ text: '10px', size: '10px' },
|
|
4694
|
-
{ text: '12px', size: '12px' },
|
|
4695
|
-
{ text: '14px', size: '14px' },
|
|
4696
|
-
{ text: '18px', size: '18px' },
|
|
4697
|
-
{ text: '24px', size: '24px' },
|
|
4698
|
-
{ text: '36px', size: '36px' }
|
|
4699
|
-
];
|
|
4700
|
-
this.editor = providerService.editor;
|
|
4701
|
-
this.isBuiltInTool = true;
|
|
4702
|
-
}
|
|
5063
|
+
dialogService;
|
|
5064
|
+
localization;
|
|
5065
|
+
toolsService;
|
|
5066
|
+
renderer;
|
|
5067
|
+
value;
|
|
5068
|
+
disabled = false;
|
|
5069
|
+
tabindex = -1;
|
|
4703
5070
|
/**
|
|
4704
5071
|
* Overrides the default font size list.
|
|
4705
5072
|
* Numeric values are treated as pixels.
|
|
@@ -4719,6 +5086,42 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4719
5086
|
get data() {
|
|
4720
5087
|
return this._data;
|
|
4721
5088
|
}
|
|
5089
|
+
/**
|
|
5090
|
+
* Fires when the user updates the value of the drop-down list.
|
|
5091
|
+
*/
|
|
5092
|
+
valueChange = new EventEmitter();
|
|
5093
|
+
element;
|
|
5094
|
+
fontSizeDropDownList;
|
|
5095
|
+
fontSizeButton;
|
|
5096
|
+
/**
|
|
5097
|
+
* @hidden
|
|
5098
|
+
*/
|
|
5099
|
+
defaultItem;
|
|
5100
|
+
fontSizeSVGIcon = fontSizeIcon;
|
|
5101
|
+
/**
|
|
5102
|
+
* @hidden
|
|
5103
|
+
*/
|
|
5104
|
+
itemDisabled;
|
|
5105
|
+
subs;
|
|
5106
|
+
editor;
|
|
5107
|
+
_data = [
|
|
5108
|
+
{ text: '8px', size: '8px' },
|
|
5109
|
+
{ text: '10px', size: '10px' },
|
|
5110
|
+
{ text: '12px', size: '12px' },
|
|
5111
|
+
{ text: '14px', size: '14px' },
|
|
5112
|
+
{ text: '18px', size: '18px' },
|
|
5113
|
+
{ text: '24px', size: '24px' },
|
|
5114
|
+
{ text: '36px', size: '36px' }
|
|
5115
|
+
];
|
|
5116
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
5117
|
+
super();
|
|
5118
|
+
this.dialogService = dialogService;
|
|
5119
|
+
this.localization = localization;
|
|
5120
|
+
this.toolsService = toolsService;
|
|
5121
|
+
this.renderer = renderer;
|
|
5122
|
+
this.editor = providerService.editor;
|
|
5123
|
+
this.isBuiltInTool = true;
|
|
5124
|
+
}
|
|
4722
5125
|
ngOnInit() {
|
|
4723
5126
|
this.itemDisabled = itemArgs => {
|
|
4724
5127
|
if (!this.overflows && this.fontSizeDropDownList && !this.fontSizeDropDownList.dropDownList.isOpen) {
|
|
@@ -4808,9 +5211,8 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4808
5211
|
this.tabindex = -1;
|
|
4809
5212
|
return false;
|
|
4810
5213
|
}
|
|
4811
|
-
}
|
|
4812
|
-
|
|
4813
|
-
EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorFontSizeComponent, isStandalone: true, 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: `
|
|
5214
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5215
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorFontSizeComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
4814
5216
|
<ng-template #toolbarTemplate>
|
|
4815
5217
|
<kendo-editor-fontsize-dropdownlist
|
|
4816
5218
|
#element
|
|
@@ -4841,7 +5243,8 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
4841
5243
|
</div>
|
|
4842
5244
|
</ng-template>
|
|
4843
5245
|
`, isInline: true, dependencies: [{ kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4844
|
-
|
|
5246
|
+
}
|
|
5247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
|
|
4845
5248
|
type: Component,
|
|
4846
5249
|
args: [{
|
|
4847
5250
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }],
|
|
@@ -4884,12 +5287,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4884
5287
|
type: Input
|
|
4885
5288
|
}], valueChange: [{
|
|
4886
5289
|
type: Output
|
|
4887
|
-
}], toolbarTemplate: [{
|
|
4888
|
-
type: ViewChild,
|
|
4889
|
-
args: ['toolbarTemplate', { static: true }]
|
|
4890
|
-
}], popupTemplate: [{
|
|
4891
|
-
type: ViewChild,
|
|
4892
|
-
args: ['popupTemplate', { static: true }]
|
|
4893
5290
|
}], element: [{
|
|
4894
5291
|
type: ViewChild,
|
|
4895
5292
|
args: ['element']
|
|
@@ -4914,36 +5311,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4914
5311
|
* ```
|
|
4915
5312
|
*/
|
|
4916
5313
|
class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
this.tabindex = -1;
|
|
4925
|
-
/**
|
|
4926
|
-
* Fires when the user updates the value of the drop-down list.
|
|
4927
|
-
*/
|
|
4928
|
-
this.valueChange = new EventEmitter();
|
|
4929
|
-
this.fontFamilySVGIcon = fontFamilyIcon;
|
|
4930
|
-
this._data = [
|
|
4931
|
-
{ text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
|
|
4932
|
-
{ text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
|
|
4933
|
-
{ text: 'Georgia', fontName: 'Georgia,Times,"Times New Roman",serif' },
|
|
4934
|
-
{
|
|
4935
|
-
fontName: 'Impact,Haettenschweiler,"Franklin Gothic Bold",Charcoal,"Helvetica Inserat","Bitstream Vera Sans Bold","Arial Black","sans serif"',
|
|
4936
|
-
text: 'Impact'
|
|
4937
|
-
},
|
|
4938
|
-
{ text: 'Lucida Console', fontName: '"Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace' },
|
|
4939
|
-
{ text: 'Tahoma', fontName: 'Tahoma,Verdana,Segoe,sans-serif' },
|
|
4940
|
-
{ text: 'Times New Roman', fontName: 'TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif' },
|
|
4941
|
-
{ text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
|
|
4942
|
-
{ text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
|
|
4943
|
-
];
|
|
4944
|
-
this.editor = providerService.editor;
|
|
4945
|
-
this.isBuiltInTool = true;
|
|
4946
|
-
}
|
|
5314
|
+
dialogService;
|
|
5315
|
+
localization;
|
|
5316
|
+
toolsService;
|
|
5317
|
+
renderer;
|
|
5318
|
+
value;
|
|
5319
|
+
disabled = false;
|
|
5320
|
+
tabindex = -1;
|
|
4947
5321
|
/**
|
|
4948
5322
|
* Overrides the default font list.
|
|
4949
5323
|
*/
|
|
@@ -4953,6 +5327,47 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
4953
5327
|
get data() {
|
|
4954
5328
|
return this._data;
|
|
4955
5329
|
}
|
|
5330
|
+
/**
|
|
5331
|
+
* Fires when the user updates the value of the drop-down list.
|
|
5332
|
+
*/
|
|
5333
|
+
valueChange = new EventEmitter();
|
|
5334
|
+
element;
|
|
5335
|
+
fontFamilyDropDownList;
|
|
5336
|
+
fontFamilyButton;
|
|
5337
|
+
/**
|
|
5338
|
+
* @hidden
|
|
5339
|
+
*/
|
|
5340
|
+
defaultItem;
|
|
5341
|
+
/**
|
|
5342
|
+
* @hidden
|
|
5343
|
+
*/
|
|
5344
|
+
itemDisabled;
|
|
5345
|
+
fontFamilySVGIcon = fontFamilyIcon;
|
|
5346
|
+
subs;
|
|
5347
|
+
editor;
|
|
5348
|
+
_data = [
|
|
5349
|
+
{ text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
|
|
5350
|
+
{ text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
|
|
5351
|
+
{ text: 'Georgia', fontName: 'Georgia,Times,"Times New Roman",serif' },
|
|
5352
|
+
{
|
|
5353
|
+
fontName: 'Impact,Haettenschweiler,"Franklin Gothic Bold",Charcoal,"Helvetica Inserat","Bitstream Vera Sans Bold","Arial Black","sans serif"',
|
|
5354
|
+
text: 'Impact'
|
|
5355
|
+
},
|
|
5356
|
+
{ text: 'Lucida Console', fontName: '"Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace' },
|
|
5357
|
+
{ text: 'Tahoma', fontName: 'Tahoma,Verdana,Segoe,sans-serif' },
|
|
5358
|
+
{ text: 'Times New Roman', fontName: 'TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif' },
|
|
5359
|
+
{ text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
|
|
5360
|
+
{ text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
|
|
5361
|
+
];
|
|
5362
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
5363
|
+
super();
|
|
5364
|
+
this.dialogService = dialogService;
|
|
5365
|
+
this.localization = localization;
|
|
5366
|
+
this.toolsService = toolsService;
|
|
5367
|
+
this.renderer = renderer;
|
|
5368
|
+
this.editor = providerService.editor;
|
|
5369
|
+
this.isBuiltInTool = true;
|
|
5370
|
+
}
|
|
4956
5371
|
ngOnInit() {
|
|
4957
5372
|
this.itemDisabled = (itemArgs) => {
|
|
4958
5373
|
if (!this.overflows && this.fontFamilyDropDownList && !this.fontFamilyDropDownList.dropDownList.isOpen) {
|
|
@@ -5040,9 +5455,8 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
5040
5455
|
this.tabindex = -1;
|
|
5041
5456
|
return false;
|
|
5042
5457
|
}
|
|
5043
|
-
}
|
|
5044
|
-
|
|
5045
|
-
EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorFontFamilyComponent, isStandalone: true, 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: `
|
|
5458
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5459
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorFontFamilyComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
5046
5460
|
<ng-template #toolbarTemplate>
|
|
5047
5461
|
<kendo-editor-fontfamily-dropdownlist
|
|
5048
5462
|
#element
|
|
@@ -5073,7 +5487,8 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
5073
5487
|
</div>
|
|
5074
5488
|
</ng-template>
|
|
5075
5489
|
`, isInline: true, dependencies: [{ kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5076
|
-
|
|
5490
|
+
}
|
|
5491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
|
|
5077
5492
|
type: Component,
|
|
5078
5493
|
args: [{
|
|
5079
5494
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }],
|
|
@@ -5116,12 +5531,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5116
5531
|
type: Input
|
|
5117
5532
|
}], valueChange: [{
|
|
5118
5533
|
type: Output
|
|
5119
|
-
}], toolbarTemplate: [{
|
|
5120
|
-
type: ViewChild,
|
|
5121
|
-
args: ['toolbarTemplate', { static: true }]
|
|
5122
|
-
}], popupTemplate: [{
|
|
5123
|
-
type: ViewChild,
|
|
5124
|
-
args: ['popupTemplate', { static: true }]
|
|
5125
5534
|
}], element: [{
|
|
5126
5535
|
type: ViewChild,
|
|
5127
5536
|
args: ['element']
|
|
@@ -5141,28 +5550,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5141
5550
|
* foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directivе ([more information]({% slug toolbartools_editor %}#toc-colorpickers)).
|
|
5142
5551
|
*/
|
|
5143
5552
|
class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5553
|
+
localization;
|
|
5554
|
+
dialogService;
|
|
5555
|
+
ngZone;
|
|
5556
|
+
renderer;
|
|
5557
|
+
tabindex = -1;
|
|
5558
|
+
/**
|
|
5559
|
+
* Specifies the initial value of the color picker.
|
|
5560
|
+
*/
|
|
5561
|
+
value;
|
|
5562
|
+
/**
|
|
5563
|
+
* Specifies the Kendo UI font icon that will be used.
|
|
5564
|
+
*/
|
|
5565
|
+
icon;
|
|
5566
|
+
/**
|
|
5567
|
+
* Defines an SVGIcon to be rendered within the ColorPicker button.
|
|
5568
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
5569
|
+
*/
|
|
5570
|
+
svgIcon;
|
|
5571
|
+
/**
|
|
5572
|
+
* Overrides the default [color palette settings]({% slug api_inputs_palettesettings %}).
|
|
5573
|
+
*/
|
|
5574
|
+
paletteSettings;
|
|
5575
|
+
/**
|
|
5576
|
+
* Specifies the color-related command that will be executed.
|
|
5577
|
+
*/
|
|
5578
|
+
editorCommand;
|
|
5579
|
+
/**
|
|
5580
|
+
* Specifies if the component should be disabled.
|
|
5581
|
+
*
|
|
5582
|
+
* @default false
|
|
5583
|
+
*/
|
|
5584
|
+
disabled = false;
|
|
5585
|
+
/**
|
|
5586
|
+
* Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
|
|
5587
|
+
*
|
|
5588
|
+
* @default ['palette']
|
|
5589
|
+
*/
|
|
5590
|
+
views = ['palette'];
|
|
5166
5591
|
/**
|
|
5167
5592
|
* @hidden
|
|
5168
5593
|
*
|
|
@@ -5180,6 +5605,22 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5180
5605
|
get title() {
|
|
5181
5606
|
return this.localization.get(this.editorCommand);
|
|
5182
5607
|
}
|
|
5608
|
+
element;
|
|
5609
|
+
colorPicker;
|
|
5610
|
+
colorPickerButton;
|
|
5611
|
+
subs;
|
|
5612
|
+
valueCache;
|
|
5613
|
+
editor;
|
|
5614
|
+
activeView;
|
|
5615
|
+
constructor(localization, dialogService, ngZone, providerService, renderer) {
|
|
5616
|
+
super();
|
|
5617
|
+
this.localization = localization;
|
|
5618
|
+
this.dialogService = dialogService;
|
|
5619
|
+
this.ngZone = ngZone;
|
|
5620
|
+
this.renderer = renderer;
|
|
5621
|
+
this.editor = providerService.editor;
|
|
5622
|
+
this.isBuiltInTool = true;
|
|
5623
|
+
}
|
|
5183
5624
|
ngOnInit() {
|
|
5184
5625
|
this.subs = this.editor.stateChange.subscribe(({ style }) => {
|
|
5185
5626
|
this.disabled = style.disabled;
|
|
@@ -5297,9 +5738,8 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5297
5738
|
this.tabindex = -1;
|
|
5298
5739
|
return false;
|
|
5299
5740
|
}
|
|
5300
|
-
}
|
|
5301
|
-
|
|
5302
|
-
EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorColorPickerComponent, isStandalone: true, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "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: `
|
|
5741
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5742
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorColorPickerComponent, isStandalone: true, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
5303
5743
|
<ng-template #toolbarTemplate>
|
|
5304
5744
|
<kendo-colorpicker
|
|
5305
5745
|
#colorpicker
|
|
@@ -5341,7 +5781,8 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
5341
5781
|
</div>
|
|
5342
5782
|
</ng-template>
|
|
5343
5783
|
`, isInline: true, dependencies: [{ kind: "component", type: 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", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
5344
|
-
|
|
5784
|
+
}
|
|
5785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
5345
5786
|
type: Component,
|
|
5346
5787
|
args: [{
|
|
5347
5788
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }],
|
|
@@ -5407,12 +5848,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5407
5848
|
type: Input
|
|
5408
5849
|
}], view: [{
|
|
5409
5850
|
type: Input
|
|
5410
|
-
}], toolbarTemplate: [{
|
|
5411
|
-
type: ViewChild,
|
|
5412
|
-
args: ['toolbarTemplate', { static: true }]
|
|
5413
|
-
}], popupTemplate: [{
|
|
5414
|
-
type: ViewChild,
|
|
5415
|
-
args: ['popupTemplate', { static: true }]
|
|
5416
5851
|
}], element: [{
|
|
5417
5852
|
type: ViewChild,
|
|
5418
5853
|
args: ['colorpicker', { read: ElementRef }]
|
|
@@ -5435,16 +5870,33 @@ const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is
|
|
|
5435
5870
|
* ```
|
|
5436
5871
|
*/
|
|
5437
5872
|
class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
5873
|
+
localization;
|
|
5874
|
+
popupService;
|
|
5875
|
+
dialogService;
|
|
5876
|
+
renderer;
|
|
5877
|
+
element;
|
|
5878
|
+
overflowElement;
|
|
5879
|
+
popupGridTemplate;
|
|
5880
|
+
/**
|
|
5881
|
+
* @hidden
|
|
5882
|
+
*/
|
|
5883
|
+
popupRef;
|
|
5884
|
+
/**
|
|
5885
|
+
* @hidden
|
|
5886
|
+
*/
|
|
5887
|
+
disabled;
|
|
5888
|
+
addTableSVGIcon = tableAddIcon;
|
|
5889
|
+
open = false;
|
|
5890
|
+
buttonBlurred = new EventEmitter();
|
|
5891
|
+
cellClicked = new EventEmitter();
|
|
5892
|
+
subs;
|
|
5893
|
+
editor;
|
|
5438
5894
|
constructor(localization, popupService, dialogService, providerService, renderer) {
|
|
5439
5895
|
super();
|
|
5440
5896
|
this.localization = localization;
|
|
5441
5897
|
this.popupService = popupService;
|
|
5442
5898
|
this.dialogService = dialogService;
|
|
5443
5899
|
this.renderer = renderer;
|
|
5444
|
-
this.addTableSVGIcon = tableAddIcon;
|
|
5445
|
-
this.open = false;
|
|
5446
|
-
this.buttonBlurred = new EventEmitter();
|
|
5447
|
-
this.cellClicked = new EventEmitter();
|
|
5448
5900
|
this.editor = providerService.editor;
|
|
5449
5901
|
this.subs = this.editor.stateChange.subscribe(({ insertTable }) => {
|
|
5450
5902
|
this.disabled = insertTable.disabled;
|
|
@@ -5569,9 +6021,8 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
5569
6021
|
getButton() {
|
|
5570
6022
|
return (this.overflows ? this.overflowElement : this.element)?.nativeElement;
|
|
5571
6023
|
}
|
|
5572
|
-
}
|
|
5573
|
-
|
|
5574
|
-
EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertTableButtonComponent, isStandalone: true, 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: `
|
|
6024
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
6025
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertTableButtonComponent, isStandalone: true, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5575
6026
|
<ng-template #toolbarTemplate>
|
|
5576
6027
|
<button
|
|
5577
6028
|
type="button"
|
|
@@ -5604,8 +6055,9 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5604
6055
|
<ng-template #popupGridTemplate>
|
|
5605
6056
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
5606
6057
|
</ng-template>
|
|
5607
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
5608
|
-
|
|
6058
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
|
|
6059
|
+
}
|
|
6060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
5609
6061
|
type: Component,
|
|
5610
6062
|
args: [{
|
|
5611
6063
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }],
|
|
@@ -5647,13 +6099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5647
6099
|
standalone: true,
|
|
5648
6100
|
imports: [ButtonComponent, IconWrapperComponent, NgIf, PopupTableGridComponent]
|
|
5649
6101
|
}]
|
|
5650
|
-
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: {
|
|
5651
|
-
type: ViewChild,
|
|
5652
|
-
args: ['toolbarTemplate', { static: true }]
|
|
5653
|
-
}], popupTemplate: [{
|
|
5654
|
-
type: ViewChild,
|
|
5655
|
-
args: ['popupTemplate']
|
|
5656
|
-
}], element: [{
|
|
6102
|
+
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { element: [{
|
|
5657
6103
|
type: ViewChild,
|
|
5658
6104
|
args: ['element', { read: ElementRef }]
|
|
5659
6105
|
}], overflowElement: [{
|
|
@@ -5678,10 +6124,10 @@ class EditorBlockquoteDirective extends EditorCommandButton {
|
|
|
5678
6124
|
constructor(button, localization, providerService, toolsService) {
|
|
5679
6125
|
super('blockquote', button, localization, providerService, toolsService);
|
|
5680
6126
|
}
|
|
6127
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6128
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
|
|
5681
6129
|
}
|
|
5682
|
-
|
|
5683
|
-
EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
|
|
5684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
|
|
6130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
|
|
5685
6131
|
type: Directive,
|
|
5686
6132
|
args: [{
|
|
5687
6133
|
selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]',
|
|
@@ -5704,10 +6150,10 @@ class EditorRedoButtonDirective extends EditorCommandButton {
|
|
|
5704
6150
|
constructor(button, localization, providerService, toolsService) {
|
|
5705
6151
|
super('redo', button, localization, providerService, toolsService);
|
|
5706
6152
|
}
|
|
6153
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6154
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorRedoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
|
|
5707
6155
|
}
|
|
5708
|
-
|
|
5709
|
-
EditorRedoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorRedoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
|
|
5710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
|
|
6156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
|
|
5711
6157
|
type: Directive,
|
|
5712
6158
|
args: [{
|
|
5713
6159
|
selector: 'kendo-toolbar-button[kendoEditorRedoButton]',
|
|
@@ -5730,10 +6176,10 @@ class EditorUndoButtonDirective extends EditorCommandButton {
|
|
|
5730
6176
|
constructor(button, localization, providerService, toolsService) {
|
|
5731
6177
|
super('undo', button, localization, providerService, toolsService);
|
|
5732
6178
|
}
|
|
6179
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6180
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorUndoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
|
|
5733
6181
|
}
|
|
5734
|
-
|
|
5735
|
-
EditorUndoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorUndoButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
|
|
5736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
|
|
6182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
|
|
5737
6183
|
type: Directive,
|
|
5738
6184
|
args: [{
|
|
5739
6185
|
selector: 'kendo-toolbar-button[kendoEditorUndoButton]',
|
|
@@ -5755,10 +6201,10 @@ class EditorViewSourceButtonDirective extends EditorCommandDialog {
|
|
|
5755
6201
|
constructor(button, localization, providerService, toolsService) {
|
|
5756
6202
|
super('viewSource', button, localization, providerService, toolsService);
|
|
5757
6203
|
}
|
|
6204
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorViewSourceButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6205
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorViewSourceButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
|
|
5758
6206
|
}
|
|
5759
|
-
|
|
5760
|
-
EditorViewSourceButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorViewSourceButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
|
|
5761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
|
|
6207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
|
|
5762
6208
|
type: Directive,
|
|
5763
6209
|
args: [{
|
|
5764
6210
|
selector: 'kendo-toolbar-button[kendoEditorViewSourceButton]',
|
|
@@ -5781,10 +6227,10 @@ class EditorStrikethroughButtonDirective extends EditorCommandButton {
|
|
|
5781
6227
|
constructor(button, localization, providerService, toolsService) {
|
|
5782
6228
|
super('strikethrough', button, localization, providerService, toolsService);
|
|
5783
6229
|
}
|
|
6230
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6231
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorStrikethroughButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
|
|
5784
6232
|
}
|
|
5785
|
-
|
|
5786
|
-
EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorStrikethroughButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
|
|
5787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
|
|
6233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
|
|
5788
6234
|
type: Directive,
|
|
5789
6235
|
args: [{
|
|
5790
6236
|
selector: 'kendo-toolbar-button[kendoEditorStrikethroughButton]',
|
|
@@ -5807,10 +6253,10 @@ class EditorSubscriptButtonDirective extends EditorCommandButton {
|
|
|
5807
6253
|
constructor(button, localization, providerService, toolsService) {
|
|
5808
6254
|
super('subscript', button, localization, providerService, toolsService);
|
|
5809
6255
|
}
|
|
6256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6257
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSubscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
5810
6258
|
}
|
|
5811
|
-
|
|
5812
|
-
EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSubscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
5813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
|
|
6259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
|
|
5814
6260
|
type: Directive,
|
|
5815
6261
|
args: [{
|
|
5816
6262
|
selector: 'kendo-toolbar-button[kendoEditorSubscriptButton]',
|
|
@@ -5833,10 +6279,10 @@ class EditorSuperscriptButtonDirective extends EditorCommandButton {
|
|
|
5833
6279
|
constructor(button, localization, providerService, toolsService) {
|
|
5834
6280
|
super('superscript', button, localization, providerService, toolsService);
|
|
5835
6281
|
}
|
|
6282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6283
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSuperscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
5836
6284
|
}
|
|
5837
|
-
|
|
5838
|
-
EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSuperscriptButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
5839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
|
|
6285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
|
|
5840
6286
|
type: Directive,
|
|
5841
6287
|
args: [{
|
|
5842
6288
|
selector: 'kendo-toolbar-button[kendoEditorSuperscriptButton]',
|
|
@@ -5858,10 +6304,10 @@ class EditorInsertFileButtonDirective extends EditorCommandDialog {
|
|
|
5858
6304
|
constructor(button, localization, providerService, toolsService) {
|
|
5859
6305
|
super('insertFile', button, localization, providerService, toolsService);
|
|
5860
6306
|
}
|
|
6307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertFileButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6308
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorInsertFileButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
|
|
5861
6309
|
}
|
|
5862
|
-
|
|
5863
|
-
EditorInsertFileButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorInsertFileButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
|
|
5864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
|
|
6310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
|
|
5865
6311
|
type: Directive,
|
|
5866
6312
|
args: [{
|
|
5867
6313
|
selector: 'kendo-toolbar-button[kendoEditorInsertFileButton]',
|
|
@@ -5879,16 +6325,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5879
6325
|
* ```
|
|
5880
6326
|
*/
|
|
5881
6327
|
class EditorForeColorDirective {
|
|
6328
|
+
colorPicker;
|
|
5882
6329
|
constructor(colorPicker) {
|
|
5883
6330
|
this.colorPicker = colorPicker;
|
|
5884
6331
|
this.colorPicker.icon = commandIcons.foreColor;
|
|
5885
6332
|
this.colorPicker.svgIcon = commandSVGIcons.foreColor;
|
|
5886
6333
|
this.colorPicker.editorCommand = 'foreColor';
|
|
5887
6334
|
}
|
|
6335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorForeColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6336
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorForeColorDirective, isStandalone: true, selector: "[kendoEditorForeColor]", ngImport: i0 });
|
|
5888
6337
|
}
|
|
5889
|
-
|
|
5890
|
-
EditorForeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorForeColorDirective, isStandalone: true, selector: "[kendoEditorForeColor]", ngImport: i0 });
|
|
5891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorForeColorDirective, decorators: [{
|
|
6338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorForeColorDirective, decorators: [{
|
|
5892
6339
|
type: Directive,
|
|
5893
6340
|
args: [{
|
|
5894
6341
|
selector: '[kendoEditorForeColor]',
|
|
@@ -5906,16 +6353,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5906
6353
|
* ```
|
|
5907
6354
|
*/
|
|
5908
6355
|
class EditorBackColorDirective {
|
|
6356
|
+
colorPicker;
|
|
5909
6357
|
constructor(colorPicker) {
|
|
5910
6358
|
this.colorPicker = colorPicker;
|
|
5911
6359
|
this.colorPicker.icon = commandIcons.backColor;
|
|
5912
6360
|
this.colorPicker.svgIcon = commandSVGIcons.backColor;
|
|
5913
6361
|
this.colorPicker.editorCommand = 'backColor';
|
|
5914
6362
|
}
|
|
6363
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6364
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBackColorDirective, isStandalone: true, selector: "[kendoEditorBackColor]", ngImport: i0 });
|
|
5915
6365
|
}
|
|
5916
|
-
|
|
5917
|
-
EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBackColorDirective, isStandalone: true, selector: "[kendoEditorBackColor]", ngImport: i0 });
|
|
5918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBackColorDirective, decorators: [{
|
|
6366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBackColorDirective, decorators: [{
|
|
5919
6367
|
type: Directive,
|
|
5920
6368
|
args: [{
|
|
5921
6369
|
selector: '[kendoEditorBackColor]',
|
|
@@ -5937,10 +6385,10 @@ class EditorCleanFormattingButtonDirective extends EditorCommandButton {
|
|
|
5937
6385
|
constructor(button, localization, providerService, toolsService) {
|
|
5938
6386
|
super('cleanFormatting', button, localization, providerService, toolsService);
|
|
5939
6387
|
}
|
|
6388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6389
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorCleanFormattingButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
|
|
5940
6390
|
}
|
|
5941
|
-
|
|
5942
|
-
EditorCleanFormattingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorCleanFormattingButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
|
|
5943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
|
|
6391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
|
|
5944
6392
|
type: Directive,
|
|
5945
6393
|
args: [{
|
|
5946
6394
|
selector: 'kendo-toolbar-button[kendoEditorCleanFormattingButton]',
|
|
@@ -5963,10 +6411,10 @@ class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
|
|
|
5963
6411
|
constructor(button, localization, providerService, toolsService) {
|
|
5964
6412
|
super('addColumnBefore', button, localization, providerService, toolsService);
|
|
5965
6413
|
}
|
|
6414
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6415
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddColumnBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
|
|
5966
6416
|
}
|
|
5967
|
-
|
|
5968
|
-
EditorAddColumnBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddColumnBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
|
|
5969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
|
|
6417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
|
|
5970
6418
|
type: Directive,
|
|
5971
6419
|
args: [{
|
|
5972
6420
|
selector: 'kendo-toolbar-button[kendoEditorAddColumnBeforeButton]',
|
|
@@ -5989,10 +6437,10 @@ class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
|
|
|
5989
6437
|
constructor(button, localization, providerService, toolsService) {
|
|
5990
6438
|
super('addColumnAfter', button, localization, providerService, toolsService);
|
|
5991
6439
|
}
|
|
6440
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6441
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddColumnAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
|
|
5992
6442
|
}
|
|
5993
|
-
|
|
5994
|
-
EditorAddColumnAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddColumnAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
|
|
5995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
|
|
6443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
|
|
5996
6444
|
type: Directive,
|
|
5997
6445
|
args: [{
|
|
5998
6446
|
selector: 'kendo-toolbar-button[kendoEditorAddColumnAfterButton]',
|
|
@@ -6015,10 +6463,10 @@ class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
|
|
|
6015
6463
|
constructor(button, localization, providerService, toolsService) {
|
|
6016
6464
|
super('addRowBefore', button, localization, providerService, toolsService);
|
|
6017
6465
|
}
|
|
6466
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6467
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddRowBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
|
|
6018
6468
|
}
|
|
6019
|
-
|
|
6020
|
-
EditorAddRowBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddRowBeforeButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
|
|
6021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
|
|
6469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
|
|
6022
6470
|
type: Directive,
|
|
6023
6471
|
args: [{
|
|
6024
6472
|
selector: 'kendo-toolbar-button[kendoEditorAddRowBeforeButton]',
|
|
@@ -6041,10 +6489,10 @@ class EditorAddRowAfterButtonDirective extends EditorCommandButton {
|
|
|
6041
6489
|
constructor(button, localization, providerService, toolsService) {
|
|
6042
6490
|
super('addRowAfter', button, localization, providerService, toolsService);
|
|
6043
6491
|
}
|
|
6492
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6493
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAddRowAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
|
|
6044
6494
|
}
|
|
6045
|
-
|
|
6046
|
-
EditorAddRowAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAddRowAfterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
|
|
6047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
|
|
6495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
|
|
6048
6496
|
type: Directive,
|
|
6049
6497
|
args: [{
|
|
6050
6498
|
selector: 'kendo-toolbar-button[kendoEditorAddRowAfterButton]',
|
|
@@ -6067,10 +6515,10 @@ class EditorDeleteColumnButtonDirective extends EditorCommandButton {
|
|
|
6067
6515
|
constructor(button, localization, providerService, toolsService) {
|
|
6068
6516
|
super('deleteColumn', button, localization, providerService, toolsService);
|
|
6069
6517
|
}
|
|
6518
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6519
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorDeleteColumnButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
|
|
6070
6520
|
}
|
|
6071
|
-
|
|
6072
|
-
EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorDeleteColumnButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
|
|
6073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
|
|
6521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
|
|
6074
6522
|
type: Directive,
|
|
6075
6523
|
args: [{
|
|
6076
6524
|
selector: 'kendo-toolbar-button[kendoEditorDeleteColumnButton]',
|
|
@@ -6093,10 +6541,10 @@ class EditorDeleteRowButtonDirective extends EditorCommandButton {
|
|
|
6093
6541
|
constructor(button, localization, providerService, toolsService) {
|
|
6094
6542
|
super('deleteRow', button, localization, providerService, toolsService);
|
|
6095
6543
|
}
|
|
6544
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6545
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorDeleteRowButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
|
|
6096
6546
|
}
|
|
6097
|
-
|
|
6098
|
-
EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorDeleteRowButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
|
|
6099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
|
|
6547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
|
|
6100
6548
|
type: Directive,
|
|
6101
6549
|
args: [{
|
|
6102
6550
|
selector: 'kendo-toolbar-button[kendoEditorDeleteRowButton]',
|
|
@@ -6119,10 +6567,10 @@ class EditorDeleteTableButtonDirective extends EditorCommandButton {
|
|
|
6119
6567
|
constructor(button, localization, providerService, toolsService) {
|
|
6120
6568
|
super('deleteTable', button, localization, providerService, toolsService);
|
|
6121
6569
|
}
|
|
6570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6571
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorDeleteTableButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
|
|
6122
6572
|
}
|
|
6123
|
-
|
|
6124
|
-
EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorDeleteTableButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
|
|
6125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
|
|
6573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
|
|
6126
6574
|
type: Directive,
|
|
6127
6575
|
args: [{
|
|
6128
6576
|
selector: 'kendo-toolbar-button[kendoEditorDeleteTableButton]',
|
|
@@ -6135,6 +6583,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6135
6583
|
* ([see example]({% slug globalization_editor %}#toc-custom-messages)).
|
|
6136
6584
|
*/
|
|
6137
6585
|
class CustomMessagesComponent extends MessagesDirective {
|
|
6586
|
+
service;
|
|
6138
6587
|
constructor(service) {
|
|
6139
6588
|
super();
|
|
6140
6589
|
this.service = service;
|
|
@@ -6142,15 +6591,15 @@ class CustomMessagesComponent extends MessagesDirective {
|
|
|
6142
6591
|
get override() {
|
|
6143
6592
|
return true;
|
|
6144
6593
|
}
|
|
6594
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6595
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-editor-messages", providers: [
|
|
6596
|
+
{
|
|
6597
|
+
provide: MessagesDirective,
|
|
6598
|
+
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
6599
|
+
}
|
|
6600
|
+
], usesInheritance: true, ngImport: i0 });
|
|
6145
6601
|
}
|
|
6146
|
-
|
|
6147
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-editor-messages", providers: [
|
|
6148
|
-
{
|
|
6149
|
-
provide: MessagesDirective,
|
|
6150
|
-
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
6151
|
-
}
|
|
6152
|
-
], usesInheritance: true, ngImport: i0 });
|
|
6153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
6602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
6154
6603
|
type: Directive,
|
|
6155
6604
|
args: [{
|
|
6156
6605
|
providers: [
|
|
@@ -6199,10 +6648,10 @@ class EditorPrintDirective extends EditorCommandButton {
|
|
|
6199
6648
|
}
|
|
6200
6649
|
}
|
|
6201
6650
|
}
|
|
6651
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6652
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorPrintDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
|
|
6202
6653
|
}
|
|
6203
|
-
|
|
6204
|
-
EditorPrintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorPrintDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
|
|
6205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorPrintDirective, decorators: [{
|
|
6654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorPrintDirective, decorators: [{
|
|
6206
6655
|
type: Directive,
|
|
6207
6656
|
args: [{
|
|
6208
6657
|
selector: 'kendo-toolbar-button[kendoEditorPrintButton]',
|
|
@@ -6228,10 +6677,10 @@ class EditorSelectAllButtonDirective extends EditorCommandButton {
|
|
|
6228
6677
|
this.editor.shouldEmitFocus = true;
|
|
6229
6678
|
super.clickHandler();
|
|
6230
6679
|
}
|
|
6680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6681
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSelectAllButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
|
|
6231
6682
|
}
|
|
6232
|
-
|
|
6233
|
-
EditorSelectAllButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSelectAllButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
|
|
6234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
|
|
6683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
|
|
6235
6684
|
type: Directive,
|
|
6236
6685
|
args: [{
|
|
6237
6686
|
selector: 'kendo-toolbar-button[kendoEditorSelectAllButton]',
|
|
@@ -6256,10 +6705,10 @@ class EditorSplitCellButtonDirective extends EditorCommandButton {
|
|
|
6256
6705
|
constructor(button, localization, providerService, toolsService) {
|
|
6257
6706
|
super('splitCell', button, localization, providerService, toolsService);
|
|
6258
6707
|
}
|
|
6708
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6709
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorSplitCellButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
|
|
6259
6710
|
}
|
|
6260
|
-
|
|
6261
|
-
EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorSplitCellButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
|
|
6262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
|
|
6711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
|
|
6263
6712
|
type: Directive,
|
|
6264
6713
|
args: [{
|
|
6265
6714
|
selector: 'kendo-toolbar-button[kendoEditorSplitCellButton]',
|
|
@@ -6284,10 +6733,10 @@ class EditorMergeCellsButtonDirective extends EditorCommandButton {
|
|
|
6284
6733
|
constructor(button, localization, providerService, toolsService) {
|
|
6285
6734
|
super('mergeCells', button, localization, providerService, toolsService);
|
|
6286
6735
|
}
|
|
6736
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6737
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorMergeCellsButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
|
|
6287
6738
|
}
|
|
6288
|
-
|
|
6289
|
-
EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorMergeCellsButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
|
|
6290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
|
|
6739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
|
|
6291
6740
|
type: Directive,
|
|
6292
6741
|
args: [{
|
|
6293
6742
|
selector: 'kendo-toolbar-button[kendoEditorMergeCellsButton]',
|
|
@@ -6379,11 +6828,11 @@ const TOOLBAR_DIALOGS = [
|
|
|
6379
6828
|
* ```
|
|
6380
6829
|
*/
|
|
6381
6830
|
class EditorModule {
|
|
6831
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6832
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, imports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective], exports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, FormsModule, ReactiveFormsModule, ToolBarModule] });
|
|
6833
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [EditorComponent, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, FormsModule, ReactiveFormsModule, ToolBarModule] });
|
|
6382
6834
|
}
|
|
6383
|
-
|
|
6384
|
-
EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, imports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective], exports: [EditorComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertFileButtonDirective, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorViewSourceButtonDirective, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorForeColorDirective, EditorBackColorDirective, EditorCleanFormattingButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, CustomMessagesComponent, EditorPrintDirective, EditorSelectAllButtonDirective, EditorBlockquoteDirective, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, FormsModule, ReactiveFormsModule, ToolBarModule] });
|
|
6385
|
-
EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [EditorComponent, EditorFontSizeComponent, EditorFontFamilyComponent, EditorFormatComponent, EditorColorPickerComponent, EditorInsertTableButtonComponent, FormsModule, ReactiveFormsModule, ToolBarModule] });
|
|
6386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorModule, decorators: [{
|
|
6835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorModule, decorators: [{
|
|
6387
6836
|
type: NgModule,
|
|
6388
6837
|
args: [{
|
|
6389
6838
|
exports: [...KENDO_EDITOR, FormsModule, ReactiveFormsModule, ToolBarModule],
|