@progress/kendo-angular-editor 16.0.0-develop.2 → 16.0.0-develop.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dialogs/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/common/provider.service.mjs +3 -3
- package/esm2020/dialogs/colorpicker-dialog.component.mjs +6 -6
- package/esm2020/dialogs/file-link-dialog.component.mjs +8 -8
- package/esm2020/dialogs/font-family-dialog.component.mjs +6 -6
- package/esm2020/dialogs/font-size-dialog.component.mjs +6 -6
- package/esm2020/dialogs/format-dialog.component.mjs +6 -6
- package/esm2020/dialogs/image-dialog.component.mjs +8 -8
- package/esm2020/dialogs/insert-table-dialog.component.mjs +6 -6
- package/esm2020/dialogs/source-dialog.component.mjs +6 -6
- package/esm2020/editor.component.mjs +22 -23
- package/esm2020/editor.module.mjs +20 -22
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -3
- package/esm2020/localization/editor-localization.service.mjs +3 -3
- package/esm2020/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/localization/messages.mjs +3 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/tools/alignment/editor-align-center-button.directive.mjs +3 -3
- package/esm2020/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
- package/esm2020/tools/alignment/editor-align-left-button.directive.mjs +3 -3
- package/esm2020/tools/alignment/editor-align-right-button.directive.mjs +3 -3
- package/esm2020/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
- package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +3 -3
- package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +7 -7
- package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +3 -3
- package/esm2020/tools/editor-clean-formatting-button.directive.mjs +3 -3
- package/esm2020/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +7 -7
- package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +6 -6
- package/esm2020/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +4 -4
- package/esm2020/tools/fontsize/editor-fontsize.component.mjs +6 -6
- package/esm2020/tools/format/editor-format-dropdownlist.component.mjs +7 -7
- package/esm2020/tools/format/editor-format.component.mjs +6 -6
- package/esm2020/tools/history/editor-redo-button.directive.mjs +3 -3
- package/esm2020/tools/history/editor-undo-button.directive.mjs +3 -3
- package/esm2020/tools/image/editor-insert-image-button.directive.mjs +3 -3
- package/esm2020/tools/indentation/editor-indent-button.directive.mjs +3 -3
- package/esm2020/tools/indentation/editor-outdent-button.directive.mjs +3 -3
- package/esm2020/tools/link/editor-create-link-button.directive.mjs +3 -3
- package/esm2020/tools/link/editor-insert-file-button.directive.mjs +3 -3
- package/esm2020/tools/link/editor-unlink-button.directive.mjs +3 -3
- package/esm2020/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
- package/esm2020/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
- package/esm2020/tools/print/editor-print-button.directive.mjs +3 -3
- package/esm2020/tools/select-all/select-all-button.directive.mjs +3 -3
- package/esm2020/tools/shared/dropdown-tool.directive.mjs +3 -3
- package/esm2020/tools/shared/editor-command-base.mjs +3 -3
- package/esm2020/tools/source/editor-view-source-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-delete-column-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-delete-row-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-delete-table-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-insert-table-button.component.mjs +8 -8
- package/esm2020/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
- package/esm2020/tools/tables/editor-split-cell-button.directive.mjs +3 -3
- package/esm2020/tools/tables/popup-table-grid.component.mjs +4 -4
- package/esm2020/tools/tools.service.mjs +3 -3
- package/esm2020/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
- package/esm2020/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
- package/esm2020/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
- package/esm2020/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
- package/esm2020/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
- package/esm2020/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
- package/fesm2015/progress-kendo-angular-editor.mjs +1175 -1177
- package/fesm2020/progress-kendo-angular-editor.mjs +1035 -1037
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package.json +21 -21
- package/schematics/ngAdd/index.js +3 -3
- package/tools/alignment/editor-align-center-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-justify-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-left-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-right-button.directive.d.ts +1 -1
- package/tools/blockquote/editor-blockquote-button.directive.d.ts +1 -1
- package/tools/colorpicker/editor-back-color.directive.d.ts +1 -1
- package/tools/colorpicker/editor-colorpicker.component.d.ts +1 -1
- package/tools/colorpicker/editor-fore-color.directive.d.ts +1 -1
- package/tools/editor-clean-formatting-button.directive.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize.component.d.ts +1 -1
- package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
- package/tools/format/editor-format.component.d.ts +1 -1
- package/tools/history/editor-redo-button.directive.d.ts +1 -1
- package/tools/history/editor-undo-button.directive.d.ts +1 -1
- package/tools/image/editor-insert-image-button.directive.d.ts +1 -1
- package/tools/indentation/editor-indent-button.directive.d.ts +1 -1
- package/tools/indentation/editor-outdent-button.directive.d.ts +1 -1
- package/tools/link/editor-create-link-button.directive.d.ts +1 -1
- package/tools/link/editor-insert-file-button.directive.d.ts +1 -1
- package/tools/link/editor-unlink-button.directive.d.ts +1 -1
- package/tools/list/editor-insert-ordered-list-button.directive.d.ts +1 -1
- package/tools/list/editor-insert-unordered-list-button.directive.d.ts +1 -1
- package/tools/print/editor-print-button.directive.d.ts +1 -1
- package/tools/select-all/select-all-button.directive.d.ts +1 -1
- package/tools/shared/dropdown-tool.directive.d.ts +1 -1
- package/tools/shared/editor-command-base.d.ts +1 -1
- package/tools/source/editor-view-source-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-column-after-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-column-before-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-row-after-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-row-before-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-column-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-row-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-table-button.directive.d.ts +1 -1
- package/tools/tables/editor-insert-table-button.component.d.ts +1 -1
- package/tools/tables/editor-merge-cells-button.directive.d.ts +1 -1
- package/tools/tables/editor-split-cell-button.directive.d.ts +1 -1
- package/tools/tables/popup-table-grid.component.d.ts +1 -1
- package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +1 -1
- package/progress-kendo-angular-editor.d.ts +0 -9
|
@@ -3,36 +3,36 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, Inject, Optional, Component, Input, ViewChild, Directive, EventEmitter, Output,
|
|
7
|
-
import * as
|
|
6
|
+
import { Injectable, Inject, Optional, Component, Input, ViewChild, InjectionToken, Directive, forwardRef, EventEmitter, Output, ElementRef, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
|
|
7
|
+
import * as i4 from '@angular/forms';
|
|
8
8
|
import { FormControl, Validators, FormGroup, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
9
|
import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
|
|
10
10
|
import { take, map, filter as filter$1, concatMap, takeUntil } from 'rxjs/operators';
|
|
11
|
-
import * as i1$
|
|
11
|
+
import * as i1$2 from '@progress/kendo-angular-toolbar';
|
|
12
12
|
import { ToolBarToolComponent, ToolBarComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
|
|
13
13
|
import * as i1$1 from '@progress/kendo-angular-dialog';
|
|
14
14
|
import { DialogContentBase, DialogModule } from '@progress/kendo-angular-dialog';
|
|
15
|
-
import * as i7 from '@progress/kendo-angular-common';
|
|
15
|
+
import * as i7$1 from '@progress/kendo-angular-common';
|
|
16
16
|
import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, Keys, WatermarkModule } from '@progress/kendo-angular-common';
|
|
17
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, pasteCleanup, parseContent, AllSelection, TextSelection, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView } 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
|
-
import * as
|
|
20
|
+
import * as i6 from '@progress/kendo-angular-inputs';
|
|
21
21
|
import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule, TextAreaModule, FormFieldModule } from '@progress/kendo-angular-inputs';
|
|
22
22
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
23
23
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
24
|
-
import * as
|
|
24
|
+
import * as i3 from '@progress/kendo-angular-buttons';
|
|
25
25
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
26
|
-
import * as
|
|
26
|
+
import * as i7 from '@progress/kendo-angular-label';
|
|
27
27
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i5 from '@angular/common';
|
|
29
29
|
import { CommonModule } from '@angular/common';
|
|
30
|
-
import
|
|
30
|
+
import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, dropletIcon, rightDoubleQuotesIcon, boldIcon, clearCssIcon, linkIcon, foregroundColorIcon, indentIcon, fileAddIcon, fileImageIcon, listOrderedIcon, listUnorderedIcon, italicIcon, outdentIcon, printIcon, redoIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, underlineIcon, undoIcon, unlinkIcon, codeSnippetIcon, tableAddIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, tableRowDeleteIcon, tableColumnDeleteIcon, cellsMergeIcon, cellSplitHorizontallyIcon, tableDeleteIcon, applyFormatIcon, tableWizardIcon, fontSizeIcon, fontFamilyIcon } from '@progress/kendo-svg-icons';
|
|
31
|
+
import * as i2 from '@progress/kendo-angular-dropdowns';
|
|
31
32
|
import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
32
|
-
import { applyFormatIcon, alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, dropletIcon, rightDoubleQuotesIcon, boldIcon, clearCssIcon, linkIcon, foregroundColorIcon, indentIcon, fileAddIcon, fileImageIcon, listOrderedIcon, listUnorderedIcon, italicIcon, outdentIcon, printIcon, redoIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, underlineIcon, undoIcon, unlinkIcon, codeSnippetIcon, tableAddIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, tableRowDeleteIcon, tableColumnDeleteIcon, cellsMergeIcon, cellSplitHorizontallyIcon, tableDeleteIcon, tableWizardIcon, fontSizeIcon, fontFamilyIcon } from '@progress/kendo-svg-icons';
|
|
33
33
|
import * as i6$1 from '@progress/kendo-angular-icons';
|
|
34
34
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
35
|
-
import * as i2 from '@progress/kendo-angular-popup';
|
|
35
|
+
import * as i2$1 from '@progress/kendo-angular-popup';
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* @hidden
|
|
@@ -41,8 +41,8 @@ const packageMetadata = {
|
|
|
41
41
|
name: '@progress/kendo-angular-editor',
|
|
42
42
|
productName: 'Kendo UI for Angular',
|
|
43
43
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
44
|
-
publishDate:
|
|
45
|
-
version: '16.0.0-develop.
|
|
44
|
+
publishDate: 1714109770,
|
|
45
|
+
version: '16.0.0-develop.4',
|
|
46
46
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -660,9 +660,9 @@ class EditorLocalizationService extends LocalizationService {
|
|
|
660
660
|
super(prefix, messageService, _rtl);
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
-
EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
664
|
-
EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
663
|
+
EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
664
|
+
EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorLocalizationService });
|
|
665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorLocalizationService, decorators: [{
|
|
666
666
|
type: Injectable
|
|
667
667
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
668
668
|
type: Inject,
|
|
@@ -716,8 +716,8 @@ class SourceDialogComponent extends DialogContentBase {
|
|
|
716
716
|
.replace(/\n$/, '');
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
|
-
SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
720
|
-
SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
719
|
+
SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
720
|
+
SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SourceDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
721
721
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
722
722
|
{{ textFor('viewSource') }}
|
|
723
723
|
</kendo-dialog-titlebar>
|
|
@@ -740,8 +740,8 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
740
740
|
(click)="onCancelAction()"
|
|
741
741
|
>{{ textFor('dialogCancel') }}</button>
|
|
742
742
|
</kendo-dialog-actions>
|
|
743
|
-
`, isInline: true,
|
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
743
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i6.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"] }] });
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SourceDialogComponent, decorators: [{
|
|
745
745
|
type: Component,
|
|
746
746
|
args: [{
|
|
747
747
|
template: `
|
|
@@ -846,8 +846,8 @@ class ImageDialogComponent extends DialogContentBase {
|
|
|
846
846
|
return Number.isNaN(parseInt(value, 10)) || parseInt(value, 10) <= 0 ? '' : safeString(parseInt(value, 10));
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
850
|
-
ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
849
|
+
ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
850
|
+
ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
851
851
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
852
852
|
{{ textFor('insertImage') }}
|
|
853
853
|
</kendo-dialog-titlebar>
|
|
@@ -909,8 +909,8 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
909
909
|
(click)="onCancelAction()"
|
|
910
910
|
>{{ textFor('dialogCancel') }}</button>
|
|
911
911
|
</kendo-dialog-actions>
|
|
912
|
-
`, isInline: true,
|
|
913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
912
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i6.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: "component", type: i6.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: i7.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }] });
|
|
913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ImageDialogComponent, decorators: [{
|
|
914
914
|
type: Component,
|
|
915
915
|
args: [{
|
|
916
916
|
template: `
|
|
@@ -1072,8 +1072,8 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
1072
1072
|
return linkData;
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
|
-
FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1076
|
-
FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1075
|
+
FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1076
|
+
FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FileLinkDialogComponent, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1077
1077
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1078
1078
|
{{ titleText }}
|
|
1079
1079
|
</kendo-dialog-titlebar>
|
|
@@ -1139,8 +1139,8 @@ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1139
1139
|
(click)="onCancelAction()"
|
|
1140
1140
|
>{{ textFor('dialogCancel') }}</button>
|
|
1141
1141
|
</kendo-dialog-actions>
|
|
1142
|
-
`, isInline: true,
|
|
1143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1142
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "directive", type: i6.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "component", type: i6.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: "component", type: i6.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "directive", type: i7.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: i7.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }] });
|
|
1143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
|
|
1144
1144
|
type: Component,
|
|
1145
1145
|
args: [{
|
|
1146
1146
|
template: `
|
|
@@ -1541,9 +1541,9 @@ const EditorErrorMessages = {
|
|
|
1541
1541
|
*/
|
|
1542
1542
|
class ProviderService {
|
|
1543
1543
|
}
|
|
1544
|
-
ProviderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1545
|
-
ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1544
|
+
ProviderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1545
|
+
ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ProviderService });
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ProviderService, decorators: [{
|
|
1547
1547
|
type: Injectable
|
|
1548
1548
|
}] });
|
|
1549
1549
|
|
|
@@ -1556,9 +1556,9 @@ class EditorToolsService {
|
|
|
1556
1556
|
this.needsCheck = new Subject();
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1560
|
-
EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1559
|
+
EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorToolsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1560
|
+
EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorToolsService });
|
|
1561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorToolsService, decorators: [{
|
|
1562
1562
|
type: Injectable
|
|
1563
1563
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1564
1564
|
|
|
@@ -1602,653 +1602,6 @@ class EditorPasteEvent extends PreventableEvent {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
|
-
/**
|
|
1606
|
-
* @hidden
|
|
1607
|
-
*/
|
|
1608
|
-
class DropDownToolDirective {
|
|
1609
|
-
constructor(hostEl, zone) {
|
|
1610
|
-
this.hostEl = hostEl;
|
|
1611
|
-
this.zone = zone;
|
|
1612
|
-
this.preventDefault = (event) => {
|
|
1613
|
-
event.preventDefault();
|
|
1614
|
-
};
|
|
1615
|
-
}
|
|
1616
|
-
get hostElement() {
|
|
1617
|
-
return this.hostEl.nativeElement;
|
|
1618
|
-
}
|
|
1619
|
-
ngAfterViewInit() {
|
|
1620
|
-
this.zone.runOutsideAngular(() => {
|
|
1621
|
-
this.hostElement.addEventListener('pointerdown', this.preventDefault);
|
|
1622
|
-
});
|
|
1623
|
-
}
|
|
1624
|
-
ngOnDestroy() {
|
|
1625
|
-
this.hostElement.removeEventListener('pointerdown', this.preventDefault);
|
|
1626
|
-
}
|
|
1627
|
-
}
|
|
1628
|
-
DropDownToolDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1629
|
-
DropDownToolDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
|
|
1630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropDownToolDirective, decorators: [{
|
|
1631
|
-
type: Directive,
|
|
1632
|
-
args: [{ selector: '[kendoEditorDropDownTool]' }]
|
|
1633
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* @hidden
|
|
1637
|
-
*/
|
|
1638
|
-
class FormatDropDownListComponent {
|
|
1639
|
-
constructor() {
|
|
1640
|
-
this.valueChange = new EventEmitter();
|
|
1641
|
-
}
|
|
1642
|
-
onValueChange(tag) {
|
|
1643
|
-
this.valueChange.emit(tag);
|
|
1644
|
-
}
|
|
1645
|
-
focus() {
|
|
1646
|
-
this.dropDownList.focus();
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
|
-
FormatDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1650
|
-
FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormatDropDownListComponent, 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: `
|
|
1651
|
-
<kendo-dropdownlist
|
|
1652
|
-
#element
|
|
1653
|
-
kendoEditorDropDownTool
|
|
1654
|
-
[defaultItem]="defaultItem"
|
|
1655
|
-
[textField]="'text'"
|
|
1656
|
-
[valueField]="'tag'"
|
|
1657
|
-
[data]="data"
|
|
1658
|
-
[(value)]="value"
|
|
1659
|
-
[valuePrimitive]="true"
|
|
1660
|
-
[itemDisabled]="itemDisabled"
|
|
1661
|
-
[attr.title]="title"
|
|
1662
|
-
[disabled]="disabled"
|
|
1663
|
-
[tabindex]="tabindex"
|
|
1664
|
-
(valueChange)="onValueChange($event)"
|
|
1665
|
-
[style.width.em]="13"
|
|
1666
|
-
>
|
|
1667
|
-
<ng-template kendoDropDownListItemTemplate let-dataItem>
|
|
1668
|
-
<ng-container [ngSwitch]="dataItem.tag">
|
|
1669
|
-
<span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
|
|
1670
|
-
{{ dataItem.text }}
|
|
1671
|
-
</span>
|
|
1672
|
-
|
|
1673
|
-
<span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
|
|
1674
|
-
{{ dataItem.text }}
|
|
1675
|
-
</span>
|
|
1676
|
-
|
|
1677
|
-
<span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
|
|
1678
|
-
{{ dataItem.text }}
|
|
1679
|
-
</span>
|
|
1680
|
-
|
|
1681
|
-
<span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
|
|
1682
|
-
{{ dataItem.text }}
|
|
1683
|
-
</span>
|
|
1684
|
-
|
|
1685
|
-
<span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
|
|
1686
|
-
{{ dataItem.text }}
|
|
1687
|
-
</span>
|
|
1688
|
-
|
|
1689
|
-
<span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
|
|
1690
|
-
{{ dataItem.text }}
|
|
1691
|
-
</span>
|
|
1692
|
-
|
|
1693
|
-
<span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
|
|
1694
|
-
{{ dataItem.text }}
|
|
1695
|
-
</span>
|
|
1696
|
-
|
|
1697
|
-
<span *ngSwitchDefault>{{ dataItem.text }}</span>
|
|
1698
|
-
</ng-container>
|
|
1699
|
-
</ng-template>
|
|
1700
|
-
</kendo-dropdownlist>
|
|
1701
|
-
`, isInline: true, components: [{ type: i1$2.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"] }], directives: [{ type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { type: i1$2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
|
|
1702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
|
|
1703
|
-
type: Component,
|
|
1704
|
-
args: [{
|
|
1705
|
-
selector: 'kendo-editor-format-dropdownlist',
|
|
1706
|
-
template: `
|
|
1707
|
-
<kendo-dropdownlist
|
|
1708
|
-
#element
|
|
1709
|
-
kendoEditorDropDownTool
|
|
1710
|
-
[defaultItem]="defaultItem"
|
|
1711
|
-
[textField]="'text'"
|
|
1712
|
-
[valueField]="'tag'"
|
|
1713
|
-
[data]="data"
|
|
1714
|
-
[(value)]="value"
|
|
1715
|
-
[valuePrimitive]="true"
|
|
1716
|
-
[itemDisabled]="itemDisabled"
|
|
1717
|
-
[attr.title]="title"
|
|
1718
|
-
[disabled]="disabled"
|
|
1719
|
-
[tabindex]="tabindex"
|
|
1720
|
-
(valueChange)="onValueChange($event)"
|
|
1721
|
-
[style.width.em]="13"
|
|
1722
|
-
>
|
|
1723
|
-
<ng-template kendoDropDownListItemTemplate let-dataItem>
|
|
1724
|
-
<ng-container [ngSwitch]="dataItem.tag">
|
|
1725
|
-
<span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
|
|
1726
|
-
{{ dataItem.text }}
|
|
1727
|
-
</span>
|
|
1728
|
-
|
|
1729
|
-
<span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
|
|
1730
|
-
{{ dataItem.text }}
|
|
1731
|
-
</span>
|
|
1732
|
-
|
|
1733
|
-
<span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
|
|
1734
|
-
{{ dataItem.text }}
|
|
1735
|
-
</span>
|
|
1736
|
-
|
|
1737
|
-
<span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
|
|
1738
|
-
{{ dataItem.text }}
|
|
1739
|
-
</span>
|
|
1740
|
-
|
|
1741
|
-
<span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
|
|
1742
|
-
{{ dataItem.text }}
|
|
1743
|
-
</span>
|
|
1744
|
-
|
|
1745
|
-
<span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
|
|
1746
|
-
{{ dataItem.text }}
|
|
1747
|
-
</span>
|
|
1748
|
-
|
|
1749
|
-
<span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
|
|
1750
|
-
{{ dataItem.text }}
|
|
1751
|
-
</span>
|
|
1752
|
-
|
|
1753
|
-
<span *ngSwitchDefault>{{ dataItem.text }}</span>
|
|
1754
|
-
</ng-container>
|
|
1755
|
-
</ng-template>
|
|
1756
|
-
</kendo-dropdownlist>
|
|
1757
|
-
`
|
|
1758
|
-
}]
|
|
1759
|
-
}], propDecorators: { data: [{
|
|
1760
|
-
type: Input
|
|
1761
|
-
}], value: [{
|
|
1762
|
-
type: Input
|
|
1763
|
-
}], defaultItem: [{
|
|
1764
|
-
type: Input
|
|
1765
|
-
}], itemDisabled: [{
|
|
1766
|
-
type: Input
|
|
1767
|
-
}], title: [{
|
|
1768
|
-
type: Input
|
|
1769
|
-
}], disabled: [{
|
|
1770
|
-
type: Input
|
|
1771
|
-
}], tabindex: [{
|
|
1772
|
-
type: Input
|
|
1773
|
-
}], valueChange: [{
|
|
1774
|
-
type: Output
|
|
1775
|
-
}], element: [{
|
|
1776
|
-
type: ViewChild,
|
|
1777
|
-
args: ['element', { static: true }]
|
|
1778
|
-
}], dropDownList: [{
|
|
1779
|
-
type: ViewChild,
|
|
1780
|
-
args: ['element', { read: DropDownListComponent, static: true }]
|
|
1781
|
-
}] } });
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
* @hidden
|
|
1785
|
-
*/
|
|
1786
|
-
class FormatDialogComponent extends DialogContentBase {
|
|
1787
|
-
constructor(dialog, localization) {
|
|
1788
|
-
super(dialog);
|
|
1789
|
-
this.dialog = dialog;
|
|
1790
|
-
this.localization = localization;
|
|
1791
|
-
this.data = [];
|
|
1792
|
-
}
|
|
1793
|
-
ngAfterViewInit() {
|
|
1794
|
-
Promise.resolve(null).then(() => {
|
|
1795
|
-
this.formatDropDownList.dropDownList.focus();
|
|
1796
|
-
});
|
|
1797
|
-
}
|
|
1798
|
-
onCancelAction() {
|
|
1799
|
-
this.dialog.close();
|
|
1800
|
-
}
|
|
1801
|
-
onConfirmAction() {
|
|
1802
|
-
if (this.value) {
|
|
1803
|
-
this.editor.exec('format', { tag: this.value });
|
|
1804
|
-
}
|
|
1805
|
-
this.dialog.close();
|
|
1806
|
-
}
|
|
1807
|
-
setData(args) {
|
|
1808
|
-
this.editor = args.editor;
|
|
1809
|
-
this.data = args.data;
|
|
1810
|
-
this.defaultItem = args.defaultItem;
|
|
1811
|
-
this.value = args.value;
|
|
1812
|
-
this.itemDisabled = args.itemDisabled;
|
|
1813
|
-
}
|
|
1814
|
-
textFor(key) {
|
|
1815
|
-
return this.localization.get(key);
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
FormatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1819
|
-
FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormatDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1820
|
-
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1821
|
-
{{ textFor('format') }}
|
|
1822
|
-
</kendo-dialog-titlebar>
|
|
1823
|
-
<div [style.text-align]="'center'">
|
|
1824
|
-
<kendo-editor-format-dropdownlist
|
|
1825
|
-
#formatDropDownList
|
|
1826
|
-
[defaultItem]="defaultItem"
|
|
1827
|
-
[data]="data"
|
|
1828
|
-
[(value)]="value"
|
|
1829
|
-
[itemDisabled]="itemDisabled"
|
|
1830
|
-
>
|
|
1831
|
-
</kendo-editor-format-dropdownlist>
|
|
1832
|
-
</div>
|
|
1833
|
-
<kendo-dialog-actions layout="start">
|
|
1834
|
-
<button
|
|
1835
|
-
kendoButton
|
|
1836
|
-
[primary]="true"
|
|
1837
|
-
(click)="onConfirmAction()"
|
|
1838
|
-
>{{ textFor('dialogApply') }}</button>
|
|
1839
|
-
<button
|
|
1840
|
-
kendoButton
|
|
1841
|
-
(click)="onCancelAction()"
|
|
1842
|
-
>{{ textFor('dialogCancel') }}</button>
|
|
1843
|
-
</kendo-dialog-actions>
|
|
1844
|
-
`, isInline: true, components: [{ type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
1845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormatDialogComponent, decorators: [{
|
|
1846
|
-
type: Component,
|
|
1847
|
-
args: [{
|
|
1848
|
-
template: `
|
|
1849
|
-
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
1850
|
-
{{ textFor('format') }}
|
|
1851
|
-
</kendo-dialog-titlebar>
|
|
1852
|
-
<div [style.text-align]="'center'">
|
|
1853
|
-
<kendo-editor-format-dropdownlist
|
|
1854
|
-
#formatDropDownList
|
|
1855
|
-
[defaultItem]="defaultItem"
|
|
1856
|
-
[data]="data"
|
|
1857
|
-
[(value)]="value"
|
|
1858
|
-
[itemDisabled]="itemDisabled"
|
|
1859
|
-
>
|
|
1860
|
-
</kendo-editor-format-dropdownlist>
|
|
1861
|
-
</div>
|
|
1862
|
-
<kendo-dialog-actions layout="start">
|
|
1863
|
-
<button
|
|
1864
|
-
kendoButton
|
|
1865
|
-
[primary]="true"
|
|
1866
|
-
(click)="onConfirmAction()"
|
|
1867
|
-
>{{ textFor('dialogApply') }}</button>
|
|
1868
|
-
<button
|
|
1869
|
-
kendoButton
|
|
1870
|
-
(click)="onCancelAction()"
|
|
1871
|
-
>{{ textFor('dialogCancel') }}</button>
|
|
1872
|
-
</kendo-dialog-actions>
|
|
1873
|
-
`
|
|
1874
|
-
}]
|
|
1875
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogRef }, { type: EditorLocalizationService }]; }, propDecorators: { editor: [{
|
|
1876
|
-
type: Input
|
|
1877
|
-
}], formatDropDownList: [{
|
|
1878
|
-
type: ViewChild,
|
|
1879
|
-
args: ['formatDropDownList', { read: FormatDropDownListComponent, static: true }]
|
|
1880
|
-
}] } });
|
|
1881
|
-
|
|
1882
|
-
/**
|
|
1883
|
-
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
1884
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
1885
|
-
* The component associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block and
|
|
1886
|
-
* automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
|
|
1887
|
-
*
|
|
1888
|
-
* @example
|
|
1889
|
-
* ```ts-no-run
|
|
1890
|
-
* <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
|
|
1891
|
-
* ```
|
|
1892
|
-
*/
|
|
1893
|
-
class EditorFormatComponent extends ToolBarToolComponent {
|
|
1894
|
-
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
1895
|
-
super();
|
|
1896
|
-
this.dialogService = dialogService;
|
|
1897
|
-
this.localization = localization;
|
|
1898
|
-
this.toolsService = toolsService;
|
|
1899
|
-
this.renderer = renderer;
|
|
1900
|
-
this.disabled = false;
|
|
1901
|
-
this.tabindex = -1;
|
|
1902
|
-
/**
|
|
1903
|
-
* Fires when the user updates the value of the drop-down list.
|
|
1904
|
-
*/
|
|
1905
|
-
this.valueChange = new EventEmitter();
|
|
1906
|
-
this._data = [
|
|
1907
|
-
{ text: 'Paragraph', tag: 'p' },
|
|
1908
|
-
{ text: 'Heading 1', tag: 'h1' },
|
|
1909
|
-
{ text: 'Heading 2', tag: 'h2' },
|
|
1910
|
-
{ text: 'Heading 3', tag: 'h3' },
|
|
1911
|
-
{ text: 'Heading 4', tag: 'h4' },
|
|
1912
|
-
{ text: 'Heading 5', tag: 'h5' },
|
|
1913
|
-
{ text: 'Heading 6', tag: 'h6' }
|
|
1914
|
-
];
|
|
1915
|
-
this.applyFormatSVGIcon = applyFormatIcon;
|
|
1916
|
-
this.editor = providerService.editor;
|
|
1917
|
-
}
|
|
1918
|
-
/**
|
|
1919
|
-
* Overrides the default format items list.
|
|
1920
|
-
*/
|
|
1921
|
-
set data(formatItems) {
|
|
1922
|
-
this._data = formatItems || this._data;
|
|
1923
|
-
}
|
|
1924
|
-
get data() {
|
|
1925
|
-
return this._data;
|
|
1926
|
-
}
|
|
1927
|
-
ngOnInit() {
|
|
1928
|
-
this.itemDisabled = (itemArgs) => {
|
|
1929
|
-
if (!this.overflows && this.formatDropDownList && !this.formatDropDownList.dropDownList.isOpen) {
|
|
1930
|
-
return true; //disable all items in order to prevent navigation when DDL is closed
|
|
1931
|
-
}
|
|
1932
|
-
else {
|
|
1933
|
-
return itemArgs.dataItem.tag === null;
|
|
1934
|
-
}
|
|
1935
|
-
};
|
|
1936
|
-
setTimeout(() => {
|
|
1937
|
-
this.defaultItem = { text: this.title, tag: null };
|
|
1938
|
-
this.toolsService.needsCheck.next();
|
|
1939
|
-
});
|
|
1940
|
-
this.subs = this.editor.stateChange.subscribe(({ format }) => {
|
|
1941
|
-
const index = this.data.findIndex(item => item.tag === format.selected.tag);
|
|
1942
|
-
this.value = index !== -1 ? format.selected.tag : null;
|
|
1943
|
-
this.disabled = format.disabled;
|
|
1944
|
-
});
|
|
1945
|
-
}
|
|
1946
|
-
/**
|
|
1947
|
-
* @hidden
|
|
1948
|
-
*/
|
|
1949
|
-
onValueChange(ev) {
|
|
1950
|
-
if (isPresent(ev)) {
|
|
1951
|
-
this.editor.exec('format', { tag: ev });
|
|
1952
|
-
this.editor.view.focus();
|
|
1953
|
-
this.valueChange.emit(this.data.find(d => d.tag === ev));
|
|
1954
|
-
}
|
|
1955
|
-
}
|
|
1956
|
-
ngOnDestroy() {
|
|
1957
|
-
if (this.subs) {
|
|
1958
|
-
this.subs.unsubscribe();
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
get outerWidth() {
|
|
1962
|
-
const element = this.formatDropDownList.element;
|
|
1963
|
-
if (element) {
|
|
1964
|
-
return outerWidth(element.nativeElement);
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
get title() {
|
|
1968
|
-
return this.localization.get('format');
|
|
1969
|
-
}
|
|
1970
|
-
/**
|
|
1971
|
-
* @hidden
|
|
1972
|
-
*/
|
|
1973
|
-
openDialog() {
|
|
1974
|
-
const dialogSettings = {
|
|
1975
|
-
appendTo: this.editor.dialogContainer,
|
|
1976
|
-
content: FormatDialogComponent,
|
|
1977
|
-
width: 400
|
|
1978
|
-
};
|
|
1979
|
-
this.editor.toolbar.toggle(false);
|
|
1980
|
-
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
1981
|
-
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
1982
|
-
dialogContent.setData({
|
|
1983
|
-
editor: this.editor,
|
|
1984
|
-
data: this.data,
|
|
1985
|
-
defaultItem: this.defaultItem,
|
|
1986
|
-
value: this.value,
|
|
1987
|
-
itemDisabled: this.itemDisabled
|
|
1988
|
-
});
|
|
1989
|
-
}
|
|
1990
|
-
/**
|
|
1991
|
-
* @hidden
|
|
1992
|
-
*/
|
|
1993
|
-
canFocus() {
|
|
1994
|
-
return !this.disabled;
|
|
1995
|
-
}
|
|
1996
|
-
/**
|
|
1997
|
-
* @hidden
|
|
1998
|
-
*/
|
|
1999
|
-
focus() {
|
|
2000
|
-
this.tabindex = 0;
|
|
2001
|
-
if (this.overflows) {
|
|
2002
|
-
this.formatButton.nativeElement.focus();
|
|
2003
|
-
}
|
|
2004
|
-
else {
|
|
2005
|
-
this.formatDropDownList.focus();
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
/**
|
|
2009
|
-
* @hidden
|
|
2010
|
-
*/
|
|
2011
|
-
handleKey() {
|
|
2012
|
-
this.tabindex = -1;
|
|
2013
|
-
return false;
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2017
|
-
EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
2018
|
-
<ng-template #toolbarTemplate>
|
|
2019
|
-
<kendo-editor-format-dropdownlist
|
|
2020
|
-
#formatDropDownList
|
|
2021
|
-
[defaultItem]="defaultItem"
|
|
2022
|
-
[data]="data"
|
|
2023
|
-
[(value)]="value"
|
|
2024
|
-
[itemDisabled]="itemDisabled"
|
|
2025
|
-
[title]="title"
|
|
2026
|
-
[disabled]="disabled"
|
|
2027
|
-
[tabindex]="tabindex"
|
|
2028
|
-
(valueChange)="onValueChange($event)"
|
|
2029
|
-
>
|
|
2030
|
-
</kendo-editor-format-dropdownlist>
|
|
2031
|
-
</ng-template>
|
|
2032
|
-
<ng-template #popupTemplate>
|
|
2033
|
-
<div #formatButton
|
|
2034
|
-
role="menuitem"
|
|
2035
|
-
class="k-item k-menu-item"
|
|
2036
|
-
[class.k-disabled]="disabled"
|
|
2037
|
-
[tabindex]="tabindex"
|
|
2038
|
-
(click)="openDialog()">
|
|
2039
|
-
<span
|
|
2040
|
-
class="k-link k-menu-link">
|
|
2041
|
-
<kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
|
|
2042
|
-
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
2043
|
-
</span>
|
|
2044
|
-
</div>
|
|
2045
|
-
</ng-template>
|
|
2046
|
-
`, isInline: true, components: [{ type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
2048
|
-
type: Component,
|
|
2049
|
-
args: [{
|
|
2050
|
-
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }],
|
|
2051
|
-
selector: 'kendo-toolbar-dropdownlist[kendoEditorFormat]',
|
|
2052
|
-
template: `
|
|
2053
|
-
<ng-template #toolbarTemplate>
|
|
2054
|
-
<kendo-editor-format-dropdownlist
|
|
2055
|
-
#formatDropDownList
|
|
2056
|
-
[defaultItem]="defaultItem"
|
|
2057
|
-
[data]="data"
|
|
2058
|
-
[(value)]="value"
|
|
2059
|
-
[itemDisabled]="itemDisabled"
|
|
2060
|
-
[title]="title"
|
|
2061
|
-
[disabled]="disabled"
|
|
2062
|
-
[tabindex]="tabindex"
|
|
2063
|
-
(valueChange)="onValueChange($event)"
|
|
2064
|
-
>
|
|
2065
|
-
</kendo-editor-format-dropdownlist>
|
|
2066
|
-
</ng-template>
|
|
2067
|
-
<ng-template #popupTemplate>
|
|
2068
|
-
<div #formatButton
|
|
2069
|
-
role="menuitem"
|
|
2070
|
-
class="k-item k-menu-item"
|
|
2071
|
-
[class.k-disabled]="disabled"
|
|
2072
|
-
[tabindex]="tabindex"
|
|
2073
|
-
(click)="openDialog()">
|
|
2074
|
-
<span
|
|
2075
|
-
class="k-link k-menu-link">
|
|
2076
|
-
<kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
|
|
2077
|
-
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
2078
|
-
</span>
|
|
2079
|
-
</div>
|
|
2080
|
-
</ng-template>
|
|
2081
|
-
`
|
|
2082
|
-
}]
|
|
2083
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
|
|
2084
|
-
type: Input
|
|
2085
|
-
}], valueChange: [{
|
|
2086
|
-
type: Output
|
|
2087
|
-
}], toolbarTemplate: [{
|
|
2088
|
-
type: ViewChild,
|
|
2089
|
-
args: ['toolbarTemplate', { static: true }]
|
|
2090
|
-
}], popupTemplate: [{
|
|
2091
|
-
type: ViewChild,
|
|
2092
|
-
args: ['popupTemplate', { static: true }]
|
|
2093
|
-
}], formatDropDownList: [{
|
|
2094
|
-
type: ViewChild,
|
|
2095
|
-
args: ['formatDropDownList']
|
|
2096
|
-
}], formatButton: [{
|
|
2097
|
-
type: ViewChild,
|
|
2098
|
-
args: ['formatButton', { read: ElementRef }]
|
|
2099
|
-
}] } });
|
|
2100
|
-
|
|
2101
|
-
/**
|
|
2102
|
-
* @hidden
|
|
2103
|
-
*/
|
|
2104
|
-
class MessagesDirective extends ComponentMessages {
|
|
2105
|
-
}
|
|
2106
|
-
MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2107
|
-
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.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 });
|
|
2108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
2109
|
-
type: Directive,
|
|
2110
|
-
args: [{
|
|
2111
|
-
selector: '[kendoEditorMessages]'
|
|
2112
|
-
}]
|
|
2113
|
-
}], propDecorators: { alignCenter: [{
|
|
2114
|
-
type: Input
|
|
2115
|
-
}], alignJustify: [{
|
|
2116
|
-
type: Input
|
|
2117
|
-
}], alignLeft: [{
|
|
2118
|
-
type: Input
|
|
2119
|
-
}], alignRight: [{
|
|
2120
|
-
type: Input
|
|
2121
|
-
}], backColor: [{
|
|
2122
|
-
type: Input
|
|
2123
|
-
}], blockquote: [{
|
|
2124
|
-
type: Input
|
|
2125
|
-
}], bold: [{
|
|
2126
|
-
type: Input
|
|
2127
|
-
}], cleanFormatting: [{
|
|
2128
|
-
type: Input
|
|
2129
|
-
}], createLink: [{
|
|
2130
|
-
type: Input
|
|
2131
|
-
}], fontFamily: [{
|
|
2132
|
-
type: Input
|
|
2133
|
-
}], fontSize: [{
|
|
2134
|
-
type: Input
|
|
2135
|
-
}], foreColor: [{
|
|
2136
|
-
type: Input
|
|
2137
|
-
}], format: [{
|
|
2138
|
-
type: Input
|
|
2139
|
-
}], indent: [{
|
|
2140
|
-
type: Input
|
|
2141
|
-
}], insertFile: [{
|
|
2142
|
-
type: Input
|
|
2143
|
-
}], insertImage: [{
|
|
2144
|
-
type: Input
|
|
2145
|
-
}], insertOrderedList: [{
|
|
2146
|
-
type: Input
|
|
2147
|
-
}], insertUnorderedList: [{
|
|
2148
|
-
type: Input
|
|
2149
|
-
}], italic: [{
|
|
2150
|
-
type: Input
|
|
2151
|
-
}], outdent: [{
|
|
2152
|
-
type: Input
|
|
2153
|
-
}], print: [{
|
|
2154
|
-
type: Input
|
|
2155
|
-
}], redo: [{
|
|
2156
|
-
type: Input
|
|
2157
|
-
}], selectAll: [{
|
|
2158
|
-
type: Input
|
|
2159
|
-
}], strikethrough: [{
|
|
2160
|
-
type: Input
|
|
2161
|
-
}], subscript: [{
|
|
2162
|
-
type: Input
|
|
2163
|
-
}], superscript: [{
|
|
2164
|
-
type: Input
|
|
2165
|
-
}], underline: [{
|
|
2166
|
-
type: Input
|
|
2167
|
-
}], undo: [{
|
|
2168
|
-
type: Input
|
|
2169
|
-
}], unlink: [{
|
|
2170
|
-
type: Input
|
|
2171
|
-
}], viewSource: [{
|
|
2172
|
-
type: Input
|
|
2173
|
-
}], insertTable: [{
|
|
2174
|
-
type: Input
|
|
2175
|
-
}], insertTableHint: [{
|
|
2176
|
-
type: Input
|
|
2177
|
-
}], addColumnBefore: [{
|
|
2178
|
-
type: Input
|
|
2179
|
-
}], addColumnAfter: [{
|
|
2180
|
-
type: Input
|
|
2181
|
-
}], addRowBefore: [{
|
|
2182
|
-
type: Input
|
|
2183
|
-
}], addRowAfter: [{
|
|
2184
|
-
type: Input
|
|
2185
|
-
}], deleteColumn: [{
|
|
2186
|
-
type: Input
|
|
2187
|
-
}], deleteRow: [{
|
|
2188
|
-
type: Input
|
|
2189
|
-
}], deleteTable: [{
|
|
2190
|
-
type: Input
|
|
2191
|
-
}], mergeCells: [{
|
|
2192
|
-
type: Input
|
|
2193
|
-
}], splitCell: [{
|
|
2194
|
-
type: Input
|
|
2195
|
-
}], dialogApply: [{
|
|
2196
|
-
type: Input
|
|
2197
|
-
}], dialogCancel: [{
|
|
2198
|
-
type: Input
|
|
2199
|
-
}], dialogInsert: [{
|
|
2200
|
-
type: Input
|
|
2201
|
-
}], dialogUpdate: [{
|
|
2202
|
-
type: Input
|
|
2203
|
-
}], fileText: [{
|
|
2204
|
-
type: Input
|
|
2205
|
-
}], fileTitle: [{
|
|
2206
|
-
type: Input
|
|
2207
|
-
}], fileWebAddress: [{
|
|
2208
|
-
type: Input
|
|
2209
|
-
}], imageAltText: [{
|
|
2210
|
-
type: Input
|
|
2211
|
-
}], imageHeight: [{
|
|
2212
|
-
type: Input
|
|
2213
|
-
}], imageWebAddress: [{
|
|
2214
|
-
type: Input
|
|
2215
|
-
}], imageWidth: [{
|
|
2216
|
-
type: Input
|
|
2217
|
-
}], linkOpenInNewWindow: [{
|
|
2218
|
-
type: Input
|
|
2219
|
-
}], linkText: [{
|
|
2220
|
-
type: Input
|
|
2221
|
-
}], linkTitle: [{
|
|
2222
|
-
type: Input
|
|
2223
|
-
}], linkWebAddress: [{
|
|
2224
|
-
type: Input
|
|
2225
|
-
}] } });
|
|
2226
|
-
|
|
2227
|
-
/**
|
|
2228
|
-
* @hidden
|
|
2229
|
-
*/
|
|
2230
|
-
class LocalizedMessagesDirective extends MessagesDirective {
|
|
2231
|
-
constructor(service) {
|
|
2232
|
-
super();
|
|
2233
|
-
this.service = service;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2237
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]", providers: [{
|
|
2238
|
-
provide: MessagesDirective,
|
|
2239
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2240
|
-
}], usesInheritance: true, ngImport: i0 });
|
|
2241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2242
|
-
type: Directive,
|
|
2243
|
-
args: [{
|
|
2244
|
-
providers: [{
|
|
2245
|
-
provide: MessagesDirective,
|
|
2246
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2247
|
-
}],
|
|
2248
|
-
selector: '[kendoEditorLocalizedMessages]'
|
|
2249
|
-
}]
|
|
2250
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
2251
|
-
|
|
2252
1605
|
/**
|
|
2253
1606
|
* @hidden
|
|
2254
1607
|
*/
|
|
@@ -2384,9 +1737,9 @@ class EditorCommandBaseDirective {
|
|
|
2384
1737
|
pointerdownHandler(_event) { }
|
|
2385
1738
|
onStateChange(_toolBarState) { }
|
|
2386
1739
|
}
|
|
2387
|
-
EditorCommandBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2388
|
-
EditorCommandBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1740
|
+
EditorCommandBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCommandBaseDirective, deps: [{ token: MY_TOKEN }, { token: i1$2.ToolBarButtonComponent }, { token: i1.LocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1741
|
+
EditorCommandBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorCommandBaseDirective, selector: "[kendoEditorCommandBase]", ngImport: i0 });
|
|
1742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCommandBaseDirective, decorators: [{
|
|
2390
1743
|
type: Directive,
|
|
2391
1744
|
args: [{
|
|
2392
1745
|
selector: '[kendoEditorCommandBase]'
|
|
@@ -2394,7 +1747,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2394
1747
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2395
1748
|
type: Inject,
|
|
2396
1749
|
args: [MY_TOKEN]
|
|
2397
|
-
}] }, { type: i1$
|
|
1750
|
+
}] }, { type: i1$2.ToolBarButtonComponent }, { type: i1.LocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2398
1751
|
|
|
2399
1752
|
/**
|
|
2400
1753
|
* @hidden
|
|
@@ -2424,376 +1777,1023 @@ class EditorCommandButton extends EditorCommandBaseDirective {
|
|
|
2424
1777
|
}
|
|
2425
1778
|
|
|
2426
1779
|
/**
|
|
2427
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
1780
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignLeft** tool
|
|
2428
1781
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2429
1782
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2430
1783
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2431
1784
|
*
|
|
2432
1785
|
* @example
|
|
2433
1786
|
* ```html
|
|
2434
|
-
* <kendo-toolbar-button
|
|
1787
|
+
* <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
|
|
2435
1788
|
* ```
|
|
2436
1789
|
*/
|
|
2437
|
-
class
|
|
1790
|
+
class EditorAlignLeftButtonDirective extends EditorCommandButton {
|
|
2438
1791
|
constructor(button, localization, providerService, toolsService) {
|
|
2439
|
-
super('
|
|
1792
|
+
super('alignLeft', button, localization, providerService, toolsService);
|
|
2440
1793
|
}
|
|
2441
1794
|
}
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1795
|
+
EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1796
|
+
EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
|
|
1797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
|
|
2445
1798
|
type: Directive,
|
|
2446
1799
|
args: [{
|
|
2447
|
-
selector: 'kendo-toolbar-button[
|
|
1800
|
+
selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]'
|
|
2448
1801
|
}]
|
|
2449
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1802
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2450
1803
|
|
|
2451
1804
|
/**
|
|
2452
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
1805
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignCenter** tool
|
|
2453
1806
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2454
1807
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2455
1808
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2456
1809
|
*
|
|
2457
1810
|
* @example
|
|
2458
1811
|
* ```html
|
|
2459
|
-
* <kendo-toolbar-button
|
|
1812
|
+
* <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
|
|
1813
|
+
* ```
|
|
1814
|
+
*/
|
|
1815
|
+
class EditorAlignCenterButtonDirective extends EditorCommandButton {
|
|
1816
|
+
constructor(button, localization, providerService, toolsService) {
|
|
1817
|
+
super('alignCenter', button, localization, providerService, toolsService);
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1821
|
+
EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
|
|
1822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
|
|
1823
|
+
type: Directive,
|
|
1824
|
+
args: [{
|
|
1825
|
+
selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]'
|
|
1826
|
+
}]
|
|
1827
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignRight** tool
|
|
1831
|
+
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
1832
|
+
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
1833
|
+
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
1834
|
+
*
|
|
1835
|
+
* @example
|
|
1836
|
+
* ```html
|
|
1837
|
+
* <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
|
|
1838
|
+
* ```
|
|
1839
|
+
*/
|
|
1840
|
+
class EditorAlignRightButtonDirective extends EditorCommandButton {
|
|
1841
|
+
constructor(button, localization, providerService, toolsService) {
|
|
1842
|
+
super('alignRight', button, localization, providerService, toolsService);
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1846
|
+
EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
|
|
1848
|
+
type: Directive,
|
|
1849
|
+
args: [{
|
|
1850
|
+
selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]'
|
|
1851
|
+
}]
|
|
1852
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignJustify** tool
|
|
1856
|
+
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
1857
|
+
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
1858
|
+
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
1859
|
+
*
|
|
1860
|
+
* @example
|
|
1861
|
+
* ```html
|
|
1862
|
+
* <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
|
|
1863
|
+
* ```
|
|
1864
|
+
*/
|
|
1865
|
+
class EditorAlignJustifyButtonDirective extends EditorCommandButton {
|
|
1866
|
+
constructor(button, localization, providerService, toolsService) {
|
|
1867
|
+
super('alignJustify', button, localization, providerService, toolsService);
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1871
|
+
EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
|
|
1872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
|
|
1873
|
+
type: Directive,
|
|
1874
|
+
args: [{
|
|
1875
|
+
selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]'
|
|
1876
|
+
}]
|
|
1877
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* @hidden
|
|
1881
|
+
*/
|
|
1882
|
+
class EditorCommandDialog extends EditorCommandBaseDirective {
|
|
1883
|
+
constructor(dialog, button, localization, providerService, toolsService) {
|
|
1884
|
+
super(dialog, button, localization, providerService, toolsService);
|
|
1885
|
+
this.dialog = dialog;
|
|
1886
|
+
this.button = button;
|
|
1887
|
+
this.localization = localization;
|
|
1888
|
+
this.providerService = providerService;
|
|
1889
|
+
this.toolsService = toolsService;
|
|
1890
|
+
}
|
|
1891
|
+
clickHandler() {
|
|
1892
|
+
this.editor.openDialog(this.dialog);
|
|
1893
|
+
}
|
|
1894
|
+
onStateChange(toolBarState) {
|
|
1895
|
+
this.providerService.editor.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
1896
|
+
this.button.selected = toolBarState[this.command].selected;
|
|
1897
|
+
this.button.disabled = toolBarState[this.command].disabled;
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertImage** tool
|
|
1904
|
+
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
1905
|
+
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
1906
|
+
*
|
|
1907
|
+
* @example
|
|
1908
|
+
* ```html
|
|
1909
|
+
* <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
|
|
1910
|
+
* ```
|
|
1911
|
+
*/
|
|
1912
|
+
class EditorInsertImageButtonDirective extends EditorCommandDialog {
|
|
1913
|
+
constructor(button, localization, providerService, toolsService) {
|
|
1914
|
+
super('insertImage', button, localization, providerService, toolsService);
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
EditorInsertImageButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertImageButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1918
|
+
EditorInsertImageButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]", usesInheritance: true, ngImport: i0 });
|
|
1919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertImageButtonDirective, decorators: [{
|
|
1920
|
+
type: Directive,
|
|
1921
|
+
args: [{
|
|
1922
|
+
selector: 'kendo-toolbar-button[kendoEditorInsertImageButton]'
|
|
1923
|
+
}]
|
|
1924
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Indent** tool
|
|
1928
|
+
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
1929
|
+
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
1930
|
+
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
1931
|
+
*
|
|
1932
|
+
* @example
|
|
1933
|
+
* ```html
|
|
1934
|
+
* <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
|
|
1935
|
+
* ```
|
|
1936
|
+
*/
|
|
1937
|
+
class EditorIndentButtonDirective extends EditorCommandButton {
|
|
1938
|
+
constructor(button, localization, providerService, toolsService) {
|
|
1939
|
+
super('indent', button, localization, providerService, toolsService);
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
EditorIndentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorIndentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1943
|
+
EditorIndentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]", usesInheritance: true, ngImport: i0 });
|
|
1944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorIndentButtonDirective, decorators: [{
|
|
1945
|
+
type: Directive,
|
|
1946
|
+
args: [{
|
|
1947
|
+
selector: 'kendo-toolbar-button[kendoEditorIndentButton]'
|
|
1948
|
+
}]
|
|
1949
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Outdent** tool
|
|
1953
|
+
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
1954
|
+
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
1955
|
+
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
1956
|
+
*
|
|
1957
|
+
* @example
|
|
1958
|
+
* ```html
|
|
1959
|
+
* <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
|
|
2460
1960
|
* ```
|
|
2461
1961
|
*/
|
|
2462
|
-
class
|
|
1962
|
+
class EditorOutdentButtonDirective extends EditorCommandButton {
|
|
2463
1963
|
constructor(button, localization, providerService, toolsService) {
|
|
2464
|
-
super('
|
|
1964
|
+
super('outdent', button, localization, providerService, toolsService);
|
|
2465
1965
|
}
|
|
2466
1966
|
}
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1967
|
+
EditorOutdentButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorOutdentButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1968
|
+
EditorOutdentButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]", usesInheritance: true, ngImport: i0 });
|
|
1969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorOutdentButtonDirective, decorators: [{
|
|
2470
1970
|
type: Directive,
|
|
2471
1971
|
args: [{
|
|
2472
|
-
selector: 'kendo-toolbar-button[
|
|
1972
|
+
selector: 'kendo-toolbar-button[kendoEditorOutdentButton]'
|
|
2473
1973
|
}]
|
|
2474
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1974
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2475
1975
|
|
|
2476
1976
|
/**
|
|
2477
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
1977
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **CreateLink** tool
|
|
2478
1978
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2479
1979
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2480
|
-
* In addition, the directive updates the `
|
|
1980
|
+
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
2481
1981
|
*
|
|
2482
1982
|
* @example
|
|
2483
1983
|
* ```html
|
|
2484
|
-
* <kendo-toolbar-button
|
|
1984
|
+
* <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
|
|
2485
1985
|
* ```
|
|
2486
1986
|
*/
|
|
2487
|
-
class
|
|
1987
|
+
class EditorCreateLinkButtonDirective extends EditorCommandDialog {
|
|
2488
1988
|
constructor(button, localization, providerService, toolsService) {
|
|
2489
|
-
super('
|
|
1989
|
+
super('createLink', button, localization, providerService, toolsService);
|
|
2490
1990
|
}
|
|
2491
1991
|
}
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1992
|
+
EditorCreateLinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCreateLinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1993
|
+
EditorCreateLinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]", usesInheritance: true, ngImport: i0 });
|
|
1994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCreateLinkButtonDirective, decorators: [{
|
|
2495
1995
|
type: Directive,
|
|
2496
1996
|
args: [{
|
|
2497
|
-
selector: 'kendo-toolbar-button[
|
|
1997
|
+
selector: 'kendo-toolbar-button[kendoEditorCreateLinkButton]'
|
|
2498
1998
|
}]
|
|
2499
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1999
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2500
2000
|
|
|
2501
2001
|
/**
|
|
2502
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
2002
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Unlink** tool
|
|
2503
2003
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2504
2004
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2505
|
-
* In addition, the directive updates the `
|
|
2005
|
+
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
2506
2006
|
*
|
|
2507
2007
|
* @example
|
|
2508
2008
|
* ```html
|
|
2509
|
-
* <kendo-toolbar-button
|
|
2009
|
+
* <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
|
|
2510
2010
|
* ```
|
|
2511
2011
|
*/
|
|
2512
|
-
class
|
|
2012
|
+
class EditorUnlinkButtonDirective extends EditorCommandButton {
|
|
2513
2013
|
constructor(button, localization, providerService, toolsService) {
|
|
2514
|
-
super('
|
|
2014
|
+
super('unlink', button, localization, providerService, toolsService);
|
|
2515
2015
|
}
|
|
2516
2016
|
}
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2017
|
+
EditorUnlinkButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnlinkButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2018
|
+
EditorUnlinkButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]", usesInheritance: true, ngImport: i0 });
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnlinkButtonDirective, decorators: [{
|
|
2520
2020
|
type: Directive,
|
|
2521
2021
|
args: [{
|
|
2522
|
-
selector: 'kendo-toolbar-button[
|
|
2022
|
+
selector: 'kendo-toolbar-button[kendoEditorUnlinkButton]'
|
|
2523
2023
|
}]
|
|
2524
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2024
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2525
2025
|
|
|
2526
2026
|
/**
|
|
2527
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
2027
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertOrderedList** tool
|
|
2528
2028
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2529
2029
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2530
2030
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2531
2031
|
*
|
|
2532
2032
|
* @example
|
|
2533
2033
|
* ```html
|
|
2534
|
-
* <kendo-toolbar-button
|
|
2034
|
+
* <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
|
|
2535
2035
|
* ```
|
|
2536
2036
|
*/
|
|
2537
|
-
class
|
|
2037
|
+
class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
|
|
2538
2038
|
constructor(button, localization, providerService, toolsService) {
|
|
2539
|
-
super('
|
|
2039
|
+
super('insertOrderedList', button, localization, providerService, toolsService);
|
|
2540
2040
|
}
|
|
2541
2041
|
}
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2042
|
+
EditorInsertOrderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertOrderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2043
|
+
EditorInsertOrderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]", usesInheritance: true, ngImport: i0 });
|
|
2044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertOrderedListButtonDirective, decorators: [{
|
|
2545
2045
|
type: Directive,
|
|
2546
2046
|
args: [{
|
|
2547
|
-
selector: 'kendo-toolbar-button[
|
|
2047
|
+
selector: 'kendo-toolbar-button[kendoEditorInsertOrderedListButton]'
|
|
2548
2048
|
}]
|
|
2549
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2049
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2550
2050
|
|
|
2551
2051
|
/**
|
|
2552
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
2052
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertUnorderedList** tool
|
|
2553
2053
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2554
2054
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2555
2055
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2556
2056
|
*
|
|
2557
2057
|
* @example
|
|
2558
2058
|
* ```html
|
|
2559
|
-
* <kendo-toolbar-button
|
|
2059
|
+
* <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
|
|
2560
2060
|
* ```
|
|
2561
2061
|
*/
|
|
2562
|
-
class
|
|
2062
|
+
class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
|
|
2563
2063
|
constructor(button, localization, providerService, toolsService) {
|
|
2564
|
-
super('
|
|
2064
|
+
super('insertUnorderedList', button, localization, providerService, toolsService);
|
|
2565
2065
|
}
|
|
2566
2066
|
}
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2067
|
+
EditorInsertUnorderedListButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2068
|
+
EditorInsertUnorderedListButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]", usesInheritance: true, ngImport: i0 });
|
|
2069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertUnorderedListButtonDirective, decorators: [{
|
|
2570
2070
|
type: Directive,
|
|
2571
2071
|
args: [{
|
|
2572
|
-
selector: 'kendo-toolbar-button[
|
|
2072
|
+
selector: 'kendo-toolbar-button[kendoEditorInsertUnorderedListButton]'
|
|
2573
2073
|
}]
|
|
2574
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2074
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2575
2075
|
|
|
2576
2076
|
/**
|
|
2577
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
2077
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Bold** tool
|
|
2578
2078
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2579
2079
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2580
2080
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2581
2081
|
*
|
|
2582
2082
|
* @example
|
|
2583
2083
|
* ```html
|
|
2584
|
-
* <kendo-toolbar-button
|
|
2084
|
+
* <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
|
|
2585
2085
|
* ```
|
|
2586
2086
|
*/
|
|
2587
|
-
class
|
|
2087
|
+
class EditorBoldButtonDirective extends EditorCommandButton {
|
|
2588
2088
|
constructor(button, localization, providerService, toolsService) {
|
|
2589
|
-
super('
|
|
2089
|
+
super('bold', button, localization, providerService, toolsService);
|
|
2590
2090
|
}
|
|
2591
2091
|
}
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2092
|
+
EditorBoldButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2093
|
+
EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
|
|
2094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
|
|
2595
2095
|
type: Directive,
|
|
2596
2096
|
args: [{
|
|
2597
|
-
selector: 'kendo-toolbar-button[
|
|
2097
|
+
selector: 'kendo-toolbar-button[kendoEditorBoldButton]'
|
|
2598
2098
|
}]
|
|
2599
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2099
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2600
2100
|
|
|
2601
2101
|
/**
|
|
2602
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
2102
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Italic** tool
|
|
2603
2103
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2604
2104
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2605
2105
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2606
2106
|
*
|
|
2607
2107
|
* @example
|
|
2608
2108
|
* ```html
|
|
2609
|
-
* <kendo-toolbar-button
|
|
2109
|
+
* <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
|
|
2610
2110
|
* ```
|
|
2611
2111
|
*/
|
|
2612
|
-
class
|
|
2112
|
+
class EditorItalicButtonDirective extends EditorCommandButton {
|
|
2613
2113
|
constructor(button, localization, providerService, toolsService) {
|
|
2614
|
-
super('
|
|
2114
|
+
super('italic', button, localization, providerService, toolsService);
|
|
2615
2115
|
}
|
|
2616
2116
|
}
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2117
|
+
EditorItalicButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2118
|
+
EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
|
|
2119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
|
|
2620
2120
|
type: Directive,
|
|
2621
2121
|
args: [{
|
|
2622
|
-
selector: 'kendo-toolbar-button[
|
|
2122
|
+
selector: 'kendo-toolbar-button[kendoEditorItalicButton]'
|
|
2623
2123
|
}]
|
|
2624
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2124
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2625
2125
|
|
|
2626
2126
|
/**
|
|
2627
|
-
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **
|
|
2127
|
+
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Underline** tool
|
|
2628
2128
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2629
2129
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2630
2130
|
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
2631
2131
|
*
|
|
2632
2132
|
* @example
|
|
2633
2133
|
* ```html
|
|
2634
|
-
* <kendo-toolbar-button
|
|
2134
|
+
* <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
|
|
2635
2135
|
* ```
|
|
2636
2136
|
*/
|
|
2637
|
-
class
|
|
2137
|
+
class EditorUnderlineButtonDirective extends EditorCommandButton {
|
|
2638
2138
|
constructor(button, localization, providerService, toolsService) {
|
|
2639
|
-
super('
|
|
2139
|
+
super('underline', button, localization, providerService, toolsService);
|
|
2640
2140
|
}
|
|
2641
2141
|
}
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2142
|
+
EditorUnderlineButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2143
|
+
EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
|
|
2144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
|
|
2645
2145
|
type: Directive,
|
|
2646
2146
|
args: [{
|
|
2647
|
-
selector: 'kendo-toolbar-button[
|
|
2147
|
+
selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]'
|
|
2648
2148
|
}]
|
|
2649
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2149
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
2650
2150
|
|
|
2651
2151
|
/**
|
|
2652
|
-
*
|
|
2653
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2654
|
-
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2655
|
-
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
2656
|
-
*
|
|
2657
|
-
* @example
|
|
2658
|
-
* ```html
|
|
2659
|
-
* <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
|
|
2660
|
-
* ```
|
|
2152
|
+
* @hidden
|
|
2661
2153
|
*/
|
|
2662
|
-
class
|
|
2663
|
-
|
|
2664
|
-
|
|
2154
|
+
class MessagesDirective extends ComponentMessages {
|
|
2155
|
+
}
|
|
2156
|
+
MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2157
|
+
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", 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 });
|
|
2158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
2159
|
+
type: Directive,
|
|
2160
|
+
args: [{
|
|
2161
|
+
selector: '[kendoEditorMessages]'
|
|
2162
|
+
}]
|
|
2163
|
+
}], propDecorators: { alignCenter: [{
|
|
2164
|
+
type: Input
|
|
2165
|
+
}], alignJustify: [{
|
|
2166
|
+
type: Input
|
|
2167
|
+
}], alignLeft: [{
|
|
2168
|
+
type: Input
|
|
2169
|
+
}], alignRight: [{
|
|
2170
|
+
type: Input
|
|
2171
|
+
}], backColor: [{
|
|
2172
|
+
type: Input
|
|
2173
|
+
}], blockquote: [{
|
|
2174
|
+
type: Input
|
|
2175
|
+
}], bold: [{
|
|
2176
|
+
type: Input
|
|
2177
|
+
}], cleanFormatting: [{
|
|
2178
|
+
type: Input
|
|
2179
|
+
}], createLink: [{
|
|
2180
|
+
type: Input
|
|
2181
|
+
}], fontFamily: [{
|
|
2182
|
+
type: Input
|
|
2183
|
+
}], fontSize: [{
|
|
2184
|
+
type: Input
|
|
2185
|
+
}], foreColor: [{
|
|
2186
|
+
type: Input
|
|
2187
|
+
}], format: [{
|
|
2188
|
+
type: Input
|
|
2189
|
+
}], indent: [{
|
|
2190
|
+
type: Input
|
|
2191
|
+
}], insertFile: [{
|
|
2192
|
+
type: Input
|
|
2193
|
+
}], insertImage: [{
|
|
2194
|
+
type: Input
|
|
2195
|
+
}], insertOrderedList: [{
|
|
2196
|
+
type: Input
|
|
2197
|
+
}], insertUnorderedList: [{
|
|
2198
|
+
type: Input
|
|
2199
|
+
}], italic: [{
|
|
2200
|
+
type: Input
|
|
2201
|
+
}], outdent: [{
|
|
2202
|
+
type: Input
|
|
2203
|
+
}], print: [{
|
|
2204
|
+
type: Input
|
|
2205
|
+
}], redo: [{
|
|
2206
|
+
type: Input
|
|
2207
|
+
}], selectAll: [{
|
|
2208
|
+
type: Input
|
|
2209
|
+
}], strikethrough: [{
|
|
2210
|
+
type: Input
|
|
2211
|
+
}], subscript: [{
|
|
2212
|
+
type: Input
|
|
2213
|
+
}], superscript: [{
|
|
2214
|
+
type: Input
|
|
2215
|
+
}], underline: [{
|
|
2216
|
+
type: Input
|
|
2217
|
+
}], undo: [{
|
|
2218
|
+
type: Input
|
|
2219
|
+
}], unlink: [{
|
|
2220
|
+
type: Input
|
|
2221
|
+
}], viewSource: [{
|
|
2222
|
+
type: Input
|
|
2223
|
+
}], insertTable: [{
|
|
2224
|
+
type: Input
|
|
2225
|
+
}], insertTableHint: [{
|
|
2226
|
+
type: Input
|
|
2227
|
+
}], addColumnBefore: [{
|
|
2228
|
+
type: Input
|
|
2229
|
+
}], addColumnAfter: [{
|
|
2230
|
+
type: Input
|
|
2231
|
+
}], addRowBefore: [{
|
|
2232
|
+
type: Input
|
|
2233
|
+
}], addRowAfter: [{
|
|
2234
|
+
type: Input
|
|
2235
|
+
}], deleteColumn: [{
|
|
2236
|
+
type: Input
|
|
2237
|
+
}], deleteRow: [{
|
|
2238
|
+
type: Input
|
|
2239
|
+
}], deleteTable: [{
|
|
2240
|
+
type: Input
|
|
2241
|
+
}], mergeCells: [{
|
|
2242
|
+
type: Input
|
|
2243
|
+
}], splitCell: [{
|
|
2244
|
+
type: Input
|
|
2245
|
+
}], dialogApply: [{
|
|
2246
|
+
type: Input
|
|
2247
|
+
}], dialogCancel: [{
|
|
2248
|
+
type: Input
|
|
2249
|
+
}], dialogInsert: [{
|
|
2250
|
+
type: Input
|
|
2251
|
+
}], dialogUpdate: [{
|
|
2252
|
+
type: Input
|
|
2253
|
+
}], fileText: [{
|
|
2254
|
+
type: Input
|
|
2255
|
+
}], fileTitle: [{
|
|
2256
|
+
type: Input
|
|
2257
|
+
}], fileWebAddress: [{
|
|
2258
|
+
type: Input
|
|
2259
|
+
}], imageAltText: [{
|
|
2260
|
+
type: Input
|
|
2261
|
+
}], imageHeight: [{
|
|
2262
|
+
type: Input
|
|
2263
|
+
}], imageWebAddress: [{
|
|
2264
|
+
type: Input
|
|
2265
|
+
}], imageWidth: [{
|
|
2266
|
+
type: Input
|
|
2267
|
+
}], linkOpenInNewWindow: [{
|
|
2268
|
+
type: Input
|
|
2269
|
+
}], linkText: [{
|
|
2270
|
+
type: Input
|
|
2271
|
+
}], linkTitle: [{
|
|
2272
|
+
type: Input
|
|
2273
|
+
}], linkWebAddress: [{
|
|
2274
|
+
type: Input
|
|
2275
|
+
}] } });
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* @hidden
|
|
2279
|
+
*/
|
|
2280
|
+
class LocalizedMessagesDirective extends MessagesDirective {
|
|
2281
|
+
constructor(service) {
|
|
2282
|
+
super();
|
|
2283
|
+
this.service = service;
|
|
2665
2284
|
}
|
|
2666
2285
|
}
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2286
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2287
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]", providers: [{
|
|
2288
|
+
provide: MessagesDirective,
|
|
2289
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2290
|
+
}], usesInheritance: true, ngImport: i0 });
|
|
2291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2670
2292
|
type: Directive,
|
|
2671
2293
|
args: [{
|
|
2672
|
-
|
|
2294
|
+
providers: [{
|
|
2295
|
+
provide: MessagesDirective,
|
|
2296
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2297
|
+
}],
|
|
2298
|
+
selector: '[kendoEditorLocalizedMessages]'
|
|
2673
2299
|
}]
|
|
2674
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
2300
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* @hidden
|
|
2304
|
+
*/
|
|
2305
|
+
class DropDownToolDirective {
|
|
2306
|
+
constructor(hostEl, zone) {
|
|
2307
|
+
this.hostEl = hostEl;
|
|
2308
|
+
this.zone = zone;
|
|
2309
|
+
this.preventDefault = (event) => {
|
|
2310
|
+
event.preventDefault();
|
|
2311
|
+
};
|
|
2312
|
+
}
|
|
2313
|
+
get hostElement() {
|
|
2314
|
+
return this.hostEl.nativeElement;
|
|
2315
|
+
}
|
|
2316
|
+
ngAfterViewInit() {
|
|
2317
|
+
this.zone.runOutsideAngular(() => {
|
|
2318
|
+
this.hostElement.addEventListener('pointerdown', this.preventDefault);
|
|
2319
|
+
});
|
|
2320
|
+
}
|
|
2321
|
+
ngOnDestroy() {
|
|
2322
|
+
this.hostElement.removeEventListener('pointerdown', this.preventDefault);
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
DropDownToolDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DropDownToolDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2326
|
+
DropDownToolDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]", ngImport: i0 });
|
|
2327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DropDownToolDirective, decorators: [{
|
|
2328
|
+
type: Directive,
|
|
2329
|
+
args: [{ selector: '[kendoEditorDropDownTool]' }]
|
|
2330
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2675
2331
|
|
|
2676
2332
|
/**
|
|
2677
|
-
*
|
|
2678
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2679
|
-
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
2680
|
-
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
2681
|
-
*
|
|
2682
|
-
* @example
|
|
2683
|
-
* ```html
|
|
2684
|
-
* <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
|
|
2685
|
-
* ```
|
|
2333
|
+
* @hidden
|
|
2686
2334
|
*/
|
|
2687
|
-
class
|
|
2688
|
-
constructor(
|
|
2689
|
-
|
|
2335
|
+
class FormatDropDownListComponent {
|
|
2336
|
+
constructor() {
|
|
2337
|
+
this.valueChange = new EventEmitter();
|
|
2338
|
+
}
|
|
2339
|
+
onValueChange(tag) {
|
|
2340
|
+
this.valueChange.emit(tag);
|
|
2341
|
+
}
|
|
2342
|
+
focus() {
|
|
2343
|
+
this.dropDownList.focus();
|
|
2690
2344
|
}
|
|
2691
2345
|
}
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2346
|
+
FormatDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2347
|
+
FormatDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormatDropDownListComponent, 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: `
|
|
2348
|
+
<kendo-dropdownlist
|
|
2349
|
+
#element
|
|
2350
|
+
kendoEditorDropDownTool
|
|
2351
|
+
[defaultItem]="defaultItem"
|
|
2352
|
+
[textField]="'text'"
|
|
2353
|
+
[valueField]="'tag'"
|
|
2354
|
+
[data]="data"
|
|
2355
|
+
[(value)]="value"
|
|
2356
|
+
[valuePrimitive]="true"
|
|
2357
|
+
[itemDisabled]="itemDisabled"
|
|
2358
|
+
[attr.title]="title"
|
|
2359
|
+
[disabled]="disabled"
|
|
2360
|
+
[tabindex]="tabindex"
|
|
2361
|
+
(valueChange)="onValueChange($event)"
|
|
2362
|
+
[style.width.em]="13"
|
|
2363
|
+
>
|
|
2364
|
+
<ng-template kendoDropDownListItemTemplate let-dataItem>
|
|
2365
|
+
<ng-container [ngSwitch]="dataItem.tag">
|
|
2366
|
+
<span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
|
|
2367
|
+
{{ dataItem.text }}
|
|
2368
|
+
</span>
|
|
2369
|
+
|
|
2370
|
+
<span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
|
|
2371
|
+
{{ dataItem.text }}
|
|
2372
|
+
</span>
|
|
2373
|
+
|
|
2374
|
+
<span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
|
|
2375
|
+
{{ dataItem.text }}
|
|
2376
|
+
</span>
|
|
2377
|
+
|
|
2378
|
+
<span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
|
|
2379
|
+
{{ dataItem.text }}
|
|
2380
|
+
</span>
|
|
2381
|
+
|
|
2382
|
+
<span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
|
|
2383
|
+
{{ dataItem.text }}
|
|
2384
|
+
</span>
|
|
2385
|
+
|
|
2386
|
+
<span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
|
|
2387
|
+
{{ dataItem.text }}
|
|
2388
|
+
</span>
|
|
2389
|
+
|
|
2390
|
+
<span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
|
|
2391
|
+
{{ dataItem.text }}
|
|
2392
|
+
</span>
|
|
2393
|
+
|
|
2394
|
+
<span *ngSwitchDefault>{{ dataItem.text }}</span>
|
|
2395
|
+
</ng-container>
|
|
2396
|
+
</ng-template>
|
|
2397
|
+
</kendo-dropdownlist>
|
|
2398
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i5.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i5.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "component", type: i2.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]" }] });
|
|
2399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
|
|
2400
|
+
type: Component,
|
|
2696
2401
|
args: [{
|
|
2697
|
-
selector: 'kendo-
|
|
2402
|
+
selector: 'kendo-editor-format-dropdownlist',
|
|
2403
|
+
template: `
|
|
2404
|
+
<kendo-dropdownlist
|
|
2405
|
+
#element
|
|
2406
|
+
kendoEditorDropDownTool
|
|
2407
|
+
[defaultItem]="defaultItem"
|
|
2408
|
+
[textField]="'text'"
|
|
2409
|
+
[valueField]="'tag'"
|
|
2410
|
+
[data]="data"
|
|
2411
|
+
[(value)]="value"
|
|
2412
|
+
[valuePrimitive]="true"
|
|
2413
|
+
[itemDisabled]="itemDisabled"
|
|
2414
|
+
[attr.title]="title"
|
|
2415
|
+
[disabled]="disabled"
|
|
2416
|
+
[tabindex]="tabindex"
|
|
2417
|
+
(valueChange)="onValueChange($event)"
|
|
2418
|
+
[style.width.em]="13"
|
|
2419
|
+
>
|
|
2420
|
+
<ng-template kendoDropDownListItemTemplate let-dataItem>
|
|
2421
|
+
<ng-container [ngSwitch]="dataItem.tag">
|
|
2422
|
+
<span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
|
|
2423
|
+
{{ dataItem.text }}
|
|
2424
|
+
</span>
|
|
2425
|
+
|
|
2426
|
+
<span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
|
|
2427
|
+
{{ dataItem.text }}
|
|
2428
|
+
</span>
|
|
2429
|
+
|
|
2430
|
+
<span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
|
|
2431
|
+
{{ dataItem.text }}
|
|
2432
|
+
</span>
|
|
2433
|
+
|
|
2434
|
+
<span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
|
|
2435
|
+
{{ dataItem.text }}
|
|
2436
|
+
</span>
|
|
2437
|
+
|
|
2438
|
+
<span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
|
|
2439
|
+
{{ dataItem.text }}
|
|
2440
|
+
</span>
|
|
2441
|
+
|
|
2442
|
+
<span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
|
|
2443
|
+
{{ dataItem.text }}
|
|
2444
|
+
</span>
|
|
2445
|
+
|
|
2446
|
+
<span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
|
|
2447
|
+
{{ dataItem.text }}
|
|
2448
|
+
</span>
|
|
2449
|
+
|
|
2450
|
+
<span *ngSwitchDefault>{{ dataItem.text }}</span>
|
|
2451
|
+
</ng-container>
|
|
2452
|
+
</ng-template>
|
|
2453
|
+
</kendo-dropdownlist>
|
|
2454
|
+
`
|
|
2698
2455
|
}]
|
|
2699
|
-
}],
|
|
2456
|
+
}], propDecorators: { data: [{
|
|
2457
|
+
type: Input
|
|
2458
|
+
}], value: [{
|
|
2459
|
+
type: Input
|
|
2460
|
+
}], defaultItem: [{
|
|
2461
|
+
type: Input
|
|
2462
|
+
}], itemDisabled: [{
|
|
2463
|
+
type: Input
|
|
2464
|
+
}], title: [{
|
|
2465
|
+
type: Input
|
|
2466
|
+
}], disabled: [{
|
|
2467
|
+
type: Input
|
|
2468
|
+
}], tabindex: [{
|
|
2469
|
+
type: Input
|
|
2470
|
+
}], valueChange: [{
|
|
2471
|
+
type: Output
|
|
2472
|
+
}], element: [{
|
|
2473
|
+
type: ViewChild,
|
|
2474
|
+
args: ['element', { static: true }]
|
|
2475
|
+
}], dropDownList: [{
|
|
2476
|
+
type: ViewChild,
|
|
2477
|
+
args: ['element', { read: DropDownListComponent, static: true }]
|
|
2478
|
+
}] } });
|
|
2700
2479
|
|
|
2701
2480
|
/**
|
|
2702
2481
|
* @hidden
|
|
2703
2482
|
*/
|
|
2704
|
-
class
|
|
2705
|
-
constructor(dialog,
|
|
2706
|
-
super(dialog
|
|
2483
|
+
class FormatDialogComponent extends DialogContentBase {
|
|
2484
|
+
constructor(dialog, localization) {
|
|
2485
|
+
super(dialog);
|
|
2707
2486
|
this.dialog = dialog;
|
|
2708
|
-
this.button = button;
|
|
2709
2487
|
this.localization = localization;
|
|
2710
|
-
this.
|
|
2711
|
-
this.toolsService = toolsService;
|
|
2712
|
-
}
|
|
2713
|
-
clickHandler() {
|
|
2714
|
-
this.editor.openDialog(this.dialog);
|
|
2488
|
+
this.data = [];
|
|
2715
2489
|
}
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
this.
|
|
2719
|
-
this.button.disabled = toolBarState[this.command].disabled;
|
|
2490
|
+
ngAfterViewInit() {
|
|
2491
|
+
Promise.resolve(null).then(() => {
|
|
2492
|
+
this.formatDropDownList.dropDownList.focus();
|
|
2720
2493
|
});
|
|
2721
2494
|
}
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2495
|
+
onCancelAction() {
|
|
2496
|
+
this.dialog.close();
|
|
2497
|
+
}
|
|
2498
|
+
onConfirmAction() {
|
|
2499
|
+
if (this.value) {
|
|
2500
|
+
this.editor.exec('format', { tag: this.value });
|
|
2501
|
+
}
|
|
2502
|
+
this.dialog.close();
|
|
2503
|
+
}
|
|
2504
|
+
setData(args) {
|
|
2505
|
+
this.editor = args.editor;
|
|
2506
|
+
this.data = args.data;
|
|
2507
|
+
this.defaultItem = args.defaultItem;
|
|
2508
|
+
this.value = args.value;
|
|
2509
|
+
this.itemDisabled = args.itemDisabled;
|
|
2510
|
+
}
|
|
2511
|
+
textFor(key) {
|
|
2512
|
+
return this.localization.get(key);
|
|
2738
2513
|
}
|
|
2739
2514
|
}
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2515
|
+
FormatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2516
|
+
FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormatDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2517
|
+
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
2518
|
+
{{ textFor('format') }}
|
|
2519
|
+
</kendo-dialog-titlebar>
|
|
2520
|
+
<div [style.text-align]="'center'">
|
|
2521
|
+
<kendo-editor-format-dropdownlist
|
|
2522
|
+
#formatDropDownList
|
|
2523
|
+
[defaultItem]="defaultItem"
|
|
2524
|
+
[data]="data"
|
|
2525
|
+
[(value)]="value"
|
|
2526
|
+
[itemDisabled]="itemDisabled"
|
|
2527
|
+
>
|
|
2528
|
+
</kendo-editor-format-dropdownlist>
|
|
2529
|
+
</div>
|
|
2530
|
+
<kendo-dialog-actions layout="start">
|
|
2531
|
+
<button
|
|
2532
|
+
kendoButton
|
|
2533
|
+
[primary]="true"
|
|
2534
|
+
(click)="onConfirmAction()"
|
|
2535
|
+
>{{ textFor('dialogApply') }}</button>
|
|
2536
|
+
<button
|
|
2537
|
+
kendoButton
|
|
2538
|
+
(click)="onCancelAction()"
|
|
2539
|
+
>{{ textFor('dialogCancel') }}</button>
|
|
2540
|
+
</kendo-dialog-actions>
|
|
2541
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
|
|
2542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormatDialogComponent, decorators: [{
|
|
2543
|
+
type: Component,
|
|
2744
2544
|
args: [{
|
|
2745
|
-
|
|
2545
|
+
template: `
|
|
2546
|
+
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
2547
|
+
{{ textFor('format') }}
|
|
2548
|
+
</kendo-dialog-titlebar>
|
|
2549
|
+
<div [style.text-align]="'center'">
|
|
2550
|
+
<kendo-editor-format-dropdownlist
|
|
2551
|
+
#formatDropDownList
|
|
2552
|
+
[defaultItem]="defaultItem"
|
|
2553
|
+
[data]="data"
|
|
2554
|
+
[(value)]="value"
|
|
2555
|
+
[itemDisabled]="itemDisabled"
|
|
2556
|
+
>
|
|
2557
|
+
</kendo-editor-format-dropdownlist>
|
|
2558
|
+
</div>
|
|
2559
|
+
<kendo-dialog-actions layout="start">
|
|
2560
|
+
<button
|
|
2561
|
+
kendoButton
|
|
2562
|
+
[primary]="true"
|
|
2563
|
+
(click)="onConfirmAction()"
|
|
2564
|
+
>{{ textFor('dialogApply') }}</button>
|
|
2565
|
+
<button
|
|
2566
|
+
kendoButton
|
|
2567
|
+
(click)="onCancelAction()"
|
|
2568
|
+
>{{ textFor('dialogCancel') }}</button>
|
|
2569
|
+
</kendo-dialog-actions>
|
|
2570
|
+
`
|
|
2746
2571
|
}]
|
|
2747
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2572
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogRef }, { type: EditorLocalizationService }]; }, propDecorators: { editor: [{
|
|
2573
|
+
type: Input
|
|
2574
|
+
}], formatDropDownList: [{
|
|
2575
|
+
type: ViewChild,
|
|
2576
|
+
args: ['formatDropDownList', { read: FormatDropDownListComponent, static: true }]
|
|
2577
|
+
}] } });
|
|
2748
2578
|
|
|
2749
2579
|
/**
|
|
2750
|
-
* A
|
|
2580
|
+
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
2751
2581
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
2752
|
-
* The
|
|
2753
|
-
*
|
|
2582
|
+
* The component associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block and
|
|
2583
|
+
* automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
|
|
2754
2584
|
*
|
|
2755
2585
|
* @example
|
|
2756
|
-
* ```
|
|
2757
|
-
* <kendo-toolbar-
|
|
2586
|
+
* ```ts-no-run
|
|
2587
|
+
* <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
|
|
2758
2588
|
* ```
|
|
2759
2589
|
*/
|
|
2760
|
-
class
|
|
2761
|
-
constructor(
|
|
2762
|
-
super(
|
|
2590
|
+
class EditorFormatComponent extends ToolBarToolComponent {
|
|
2591
|
+
constructor(dialogService, localization, providerService, toolsService, renderer) {
|
|
2592
|
+
super();
|
|
2593
|
+
this.dialogService = dialogService;
|
|
2594
|
+
this.localization = localization;
|
|
2595
|
+
this.toolsService = toolsService;
|
|
2596
|
+
this.renderer = renderer;
|
|
2597
|
+
this.disabled = false;
|
|
2598
|
+
this.tabindex = -1;
|
|
2599
|
+
/**
|
|
2600
|
+
* Fires when the user updates the value of the drop-down list.
|
|
2601
|
+
*/
|
|
2602
|
+
this.valueChange = new EventEmitter();
|
|
2603
|
+
this._data = [
|
|
2604
|
+
{ text: 'Paragraph', tag: 'p' },
|
|
2605
|
+
{ text: 'Heading 1', tag: 'h1' },
|
|
2606
|
+
{ text: 'Heading 2', tag: 'h2' },
|
|
2607
|
+
{ text: 'Heading 3', tag: 'h3' },
|
|
2608
|
+
{ text: 'Heading 4', tag: 'h4' },
|
|
2609
|
+
{ text: 'Heading 5', tag: 'h5' },
|
|
2610
|
+
{ text: 'Heading 6', tag: 'h6' }
|
|
2611
|
+
];
|
|
2612
|
+
this.applyFormatSVGIcon = applyFormatIcon;
|
|
2613
|
+
this.editor = providerService.editor;
|
|
2763
2614
|
}
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2615
|
+
/**
|
|
2616
|
+
* Overrides the default format items list.
|
|
2617
|
+
*/
|
|
2618
|
+
set data(formatItems) {
|
|
2619
|
+
this._data = formatItems || this._data;
|
|
2620
|
+
}
|
|
2621
|
+
get data() {
|
|
2622
|
+
return this._data;
|
|
2623
|
+
}
|
|
2624
|
+
ngOnInit() {
|
|
2625
|
+
this.itemDisabled = (itemArgs) => {
|
|
2626
|
+
if (!this.overflows && this.formatDropDownList && !this.formatDropDownList.dropDownList.isOpen) {
|
|
2627
|
+
return true; //disable all items in order to prevent navigation when DDL is closed
|
|
2628
|
+
}
|
|
2629
|
+
else {
|
|
2630
|
+
return itemArgs.dataItem.tag === null;
|
|
2631
|
+
}
|
|
2632
|
+
};
|
|
2633
|
+
setTimeout(() => {
|
|
2634
|
+
this.defaultItem = { text: this.title, tag: null };
|
|
2635
|
+
this.toolsService.needsCheck.next();
|
|
2636
|
+
});
|
|
2637
|
+
this.subs = this.editor.stateChange.subscribe(({ format }) => {
|
|
2638
|
+
const index = this.data.findIndex(item => item.tag === format.selected.tag);
|
|
2639
|
+
this.value = index !== -1 ? format.selected.tag : null;
|
|
2640
|
+
this.disabled = format.disabled;
|
|
2641
|
+
});
|
|
2642
|
+
}
|
|
2643
|
+
/**
|
|
2644
|
+
* @hidden
|
|
2645
|
+
*/
|
|
2646
|
+
onValueChange(ev) {
|
|
2647
|
+
if (isPresent(ev)) {
|
|
2648
|
+
this.editor.exec('format', { tag: ev });
|
|
2649
|
+
this.editor.view.focus();
|
|
2650
|
+
this.valueChange.emit(this.data.find(d => d.tag === ev));
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
ngOnDestroy() {
|
|
2654
|
+
if (this.subs) {
|
|
2655
|
+
this.subs.unsubscribe();
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
get outerWidth() {
|
|
2659
|
+
const element = this.formatDropDownList.element;
|
|
2660
|
+
if (element) {
|
|
2661
|
+
return outerWidth(element.nativeElement);
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
get title() {
|
|
2665
|
+
return this.localization.get('format');
|
|
2666
|
+
}
|
|
2667
|
+
/**
|
|
2668
|
+
* @hidden
|
|
2669
|
+
*/
|
|
2670
|
+
openDialog() {
|
|
2671
|
+
const dialogSettings = {
|
|
2672
|
+
appendTo: this.editor.dialogContainer,
|
|
2673
|
+
content: FormatDialogComponent,
|
|
2674
|
+
width: 400
|
|
2675
|
+
};
|
|
2676
|
+
this.editor.toolbar.toggle(false);
|
|
2677
|
+
const dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
2678
|
+
this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
|
|
2679
|
+
dialogContent.setData({
|
|
2680
|
+
editor: this.editor,
|
|
2681
|
+
data: this.data,
|
|
2682
|
+
defaultItem: this.defaultItem,
|
|
2683
|
+
value: this.value,
|
|
2684
|
+
itemDisabled: this.itemDisabled
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2687
|
+
/**
|
|
2688
|
+
* @hidden
|
|
2689
|
+
*/
|
|
2690
|
+
canFocus() {
|
|
2691
|
+
return !this.disabled;
|
|
2692
|
+
}
|
|
2693
|
+
/**
|
|
2694
|
+
* @hidden
|
|
2695
|
+
*/
|
|
2696
|
+
focus() {
|
|
2697
|
+
this.tabindex = 0;
|
|
2698
|
+
if (this.overflows) {
|
|
2699
|
+
this.formatButton.nativeElement.focus();
|
|
2700
|
+
}
|
|
2701
|
+
else {
|
|
2702
|
+
this.formatDropDownList.focus();
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
/**
|
|
2706
|
+
* @hidden
|
|
2707
|
+
*/
|
|
2708
|
+
handleKey() {
|
|
2709
|
+
this.tabindex = -1;
|
|
2710
|
+
return false;
|
|
2787
2711
|
}
|
|
2788
2712
|
}
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2713
|
+
EditorFormatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2714
|
+
EditorFormatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
2715
|
+
<ng-template #toolbarTemplate>
|
|
2716
|
+
<kendo-editor-format-dropdownlist
|
|
2717
|
+
#formatDropDownList
|
|
2718
|
+
[defaultItem]="defaultItem"
|
|
2719
|
+
[data]="data"
|
|
2720
|
+
[(value)]="value"
|
|
2721
|
+
[itemDisabled]="itemDisabled"
|
|
2722
|
+
[title]="title"
|
|
2723
|
+
[disabled]="disabled"
|
|
2724
|
+
[tabindex]="tabindex"
|
|
2725
|
+
(valueChange)="onValueChange($event)"
|
|
2726
|
+
>
|
|
2727
|
+
</kendo-editor-format-dropdownlist>
|
|
2728
|
+
</ng-template>
|
|
2729
|
+
<ng-template #popupTemplate>
|
|
2730
|
+
<div #formatButton
|
|
2731
|
+
role="menuitem"
|
|
2732
|
+
class="k-item k-menu-item"
|
|
2733
|
+
[class.k-disabled]="disabled"
|
|
2734
|
+
[tabindex]="tabindex"
|
|
2735
|
+
(click)="openDialog()">
|
|
2736
|
+
<span
|
|
2737
|
+
class="k-link k-menu-link">
|
|
2738
|
+
<kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
|
|
2739
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
2740
|
+
</span>
|
|
2741
|
+
</div>
|
|
2742
|
+
</ng-template>
|
|
2743
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
|
|
2744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFormatComponent, decorators: [{
|
|
2745
|
+
type: Component,
|
|
2793
2746
|
args: [{
|
|
2794
|
-
|
|
2747
|
+
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }],
|
|
2748
|
+
selector: 'kendo-toolbar-dropdownlist[kendoEditorFormat]',
|
|
2749
|
+
template: `
|
|
2750
|
+
<ng-template #toolbarTemplate>
|
|
2751
|
+
<kendo-editor-format-dropdownlist
|
|
2752
|
+
#formatDropDownList
|
|
2753
|
+
[defaultItem]="defaultItem"
|
|
2754
|
+
[data]="data"
|
|
2755
|
+
[(value)]="value"
|
|
2756
|
+
[itemDisabled]="itemDisabled"
|
|
2757
|
+
[title]="title"
|
|
2758
|
+
[disabled]="disabled"
|
|
2759
|
+
[tabindex]="tabindex"
|
|
2760
|
+
(valueChange)="onValueChange($event)"
|
|
2761
|
+
>
|
|
2762
|
+
</kendo-editor-format-dropdownlist>
|
|
2763
|
+
</ng-template>
|
|
2764
|
+
<ng-template #popupTemplate>
|
|
2765
|
+
<div #formatButton
|
|
2766
|
+
role="menuitem"
|
|
2767
|
+
class="k-item k-menu-item"
|
|
2768
|
+
[class.k-disabled]="disabled"
|
|
2769
|
+
[tabindex]="tabindex"
|
|
2770
|
+
(click)="openDialog()">
|
|
2771
|
+
<span
|
|
2772
|
+
class="k-link k-menu-link">
|
|
2773
|
+
<kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
|
|
2774
|
+
<span *ngIf="title" class="k-menu-link-text">{{title}}</span>
|
|
2775
|
+
</span>
|
|
2776
|
+
</div>
|
|
2777
|
+
</ng-template>
|
|
2778
|
+
`
|
|
2795
2779
|
}]
|
|
2796
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2780
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { data: [{
|
|
2781
|
+
type: Input
|
|
2782
|
+
}], valueChange: [{
|
|
2783
|
+
type: Output
|
|
2784
|
+
}], toolbarTemplate: [{
|
|
2785
|
+
type: ViewChild,
|
|
2786
|
+
args: ['toolbarTemplate', { static: true }]
|
|
2787
|
+
}], popupTemplate: [{
|
|
2788
|
+
type: ViewChild,
|
|
2789
|
+
args: ['popupTemplate', { static: true }]
|
|
2790
|
+
}], formatDropDownList: [{
|
|
2791
|
+
type: ViewChild,
|
|
2792
|
+
args: ['formatDropDownList']
|
|
2793
|
+
}], formatButton: [{
|
|
2794
|
+
type: ViewChild,
|
|
2795
|
+
args: ['formatButton', { read: ElementRef }]
|
|
2796
|
+
}] } });
|
|
2797
2797
|
|
|
2798
2798
|
const EMPTY_PARAGRAPH = '<p></p>';
|
|
2799
2799
|
const defaultPasteCleanupSettings = {
|
|
@@ -3543,10 +3543,9 @@ class EditorComponent {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
return cleanContent;
|
|
3545
3545
|
}
|
|
3546
|
-
;
|
|
3547
3546
|
}
|
|
3548
|
-
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3549
|
-
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3547
|
+
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
3548
|
+
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
3550
3549
|
EditorLocalizationService,
|
|
3551
3550
|
ProviderService,
|
|
3552
3551
|
EditorToolsService,
|
|
@@ -3726,8 +3725,8 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
3726
3725
|
<ng-container #dialogsContainer></ng-container>
|
|
3727
3726
|
|
|
3728
3727
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3729
|
-
`, isInline: true,
|
|
3730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3728
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$2.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: i1$2.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: "component", type: i1$2.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: i7$1.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { 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: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { 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: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { 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: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }] });
|
|
3729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorComponent, decorators: [{
|
|
3731
3730
|
type: Component,
|
|
3732
3731
|
args: [{
|
|
3733
3732
|
selector: 'kendo-editor',
|
|
@@ -4046,8 +4045,8 @@ class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
4046
4045
|
return this.localization.get(key);
|
|
4047
4046
|
}
|
|
4048
4047
|
}
|
|
4049
|
-
ColorPickerDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4050
|
-
ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4048
|
+
ColorPickerDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4049
|
+
ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ColorPickerDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4051
4050
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4052
4051
|
{{ textFor(editorCommand) }}
|
|
4053
4052
|
</kendo-dialog-titlebar>
|
|
@@ -4077,8 +4076,8 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4077
4076
|
(click)="onCancelAction()"
|
|
4078
4077
|
>{{ textFor('dialogCancel') }}</button>
|
|
4079
4078
|
</kendo-dialog-actions>
|
|
4080
|
-
`, isInline: true,
|
|
4081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4079
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i6.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }] });
|
|
4080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
|
|
4082
4081
|
type: Component,
|
|
4083
4082
|
args: [{
|
|
4084
4083
|
template: `
|
|
@@ -4134,8 +4133,8 @@ class FontFamilyDropDownListComponent {
|
|
|
4134
4133
|
this.dropDownList.focus();
|
|
4135
4134
|
}
|
|
4136
4135
|
}
|
|
4137
|
-
FontFamilyDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4138
|
-
FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4136
|
+
FontFamilyDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4137
|
+
FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontFamilyDropDownListComponent, 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: `
|
|
4139
4138
|
<kendo-dropdownlist
|
|
4140
4139
|
#element
|
|
4141
4140
|
kendoEditorDropDownTool
|
|
@@ -4158,8 +4157,8 @@ FontFamilyDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
4158
4157
|
</span>
|
|
4159
4158
|
</ng-template>
|
|
4160
4159
|
</kendo-dropdownlist>
|
|
4161
|
-
`, isInline: true,
|
|
4162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4160
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "component", type: i2.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]" }] });
|
|
4161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDropDownListComponent, decorators: [{
|
|
4163
4162
|
type: Component,
|
|
4164
4163
|
args: [{
|
|
4165
4164
|
selector: 'kendo-editor-fontfamily-dropdownlist',
|
|
@@ -4247,8 +4246,8 @@ class FontFamilyDialogComponent extends DialogContentBase {
|
|
|
4247
4246
|
return this.localization.get(key);
|
|
4248
4247
|
}
|
|
4249
4248
|
}
|
|
4250
|
-
FontFamilyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4251
|
-
FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4249
|
+
FontFamilyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4250
|
+
FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontFamilyDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4252
4251
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4253
4252
|
{{ textFor('fontFamily') }}
|
|
4254
4253
|
</kendo-dialog-titlebar>
|
|
@@ -4273,8 +4272,8 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4273
4272
|
(click)="onCancelAction()"
|
|
4274
4273
|
>{{ textFor('dialogCancel') }}</button>
|
|
4275
4274
|
</kendo-dialog-actions>
|
|
4276
|
-
`, isInline: true,
|
|
4277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4275
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
|
|
4276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
|
|
4278
4277
|
type: Component,
|
|
4279
4278
|
args: [{
|
|
4280
4279
|
template: `
|
|
@@ -4360,8 +4359,8 @@ class PopupTableGridComponent {
|
|
|
4360
4359
|
this.tableWizardClick.emit();
|
|
4361
4360
|
}
|
|
4362
4361
|
}
|
|
4363
|
-
PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4364
|
-
PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4362
|
+
PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4363
|
+
PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
|
|
4365
4364
|
<div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
|
|
4366
4365
|
<span *ngFor="let i of cells"
|
|
4367
4366
|
class="k-ct-cell"
|
|
@@ -4376,8 +4375,8 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4376
4375
|
<button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
|
|
4377
4376
|
</div>
|
|
4378
4377
|
-->
|
|
4379
|
-
`, isInline: true,
|
|
4380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4378
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PopupTableGridComponent, decorators: [{
|
|
4381
4380
|
type: Component,
|
|
4382
4381
|
args: [{
|
|
4383
4382
|
selector: 'kendo-popup-table-grid',
|
|
@@ -4429,8 +4428,8 @@ class InsertTableDialogComponent extends DialogContentBase {
|
|
|
4429
4428
|
return this.localization.get(key);
|
|
4430
4429
|
}
|
|
4431
4430
|
}
|
|
4432
|
-
InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4433
|
-
InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4431
|
+
InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4432
|
+
InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: InsertTableDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
|
|
4434
4433
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4435
4434
|
{{ textFor('insertTable') }}
|
|
4436
4435
|
</kendo-dialog-titlebar>
|
|
@@ -4443,8 +4442,8 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
4443
4442
|
(click)="onCancelAction()"
|
|
4444
4443
|
>{{ textFor('dialogCancel') }}</button>
|
|
4445
4444
|
</kendo-dialog-actions>
|
|
4446
|
-
`, isInline: true,
|
|
4447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4445
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
|
|
4446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
|
|
4448
4447
|
type: Component,
|
|
4449
4448
|
args: [{
|
|
4450
4449
|
template: `
|
|
@@ -4480,8 +4479,8 @@ class FontSizeDropDownListComponent {
|
|
|
4480
4479
|
this.dropDownList.focus();
|
|
4481
4480
|
}
|
|
4482
4481
|
}
|
|
4483
|
-
FontSizeDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4484
|
-
FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4482
|
+
FontSizeDropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4483
|
+
FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontSizeDropDownListComponent, 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: `
|
|
4485
4484
|
<kendo-dropdownlist
|
|
4486
4485
|
#element
|
|
4487
4486
|
kendoEditorDropDownTool
|
|
@@ -4499,8 +4498,8 @@ FontSizeDropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
4499
4498
|
[style.width.em]="13"
|
|
4500
4499
|
>
|
|
4501
4500
|
</kendo-dropdownlist>
|
|
4502
|
-
`, isInline: true,
|
|
4503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4501
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.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]" }] });
|
|
4502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
|
|
4504
4503
|
type: Component,
|
|
4505
4504
|
args: [{
|
|
4506
4505
|
selector: 'kendo-editor-fontsize-dropdownlist',
|
|
@@ -4583,8 +4582,8 @@ class FontSizeDialogComponent extends DialogContentBase {
|
|
|
4583
4582
|
return this.localization.get(key);
|
|
4584
4583
|
}
|
|
4585
4584
|
}
|
|
4586
|
-
FontSizeDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4587
|
-
FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4585
|
+
FontSizeDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4586
|
+
FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FontSizeDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4588
4587
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
4589
4588
|
{{ textFor('fontSize') }}
|
|
4590
4589
|
</kendo-dialog-titlebar>
|
|
@@ -4609,8 +4608,8 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4609
4608
|
(click)="onCancelAction()"
|
|
4610
4609
|
>{{ textFor('dialogCancel') }}</button>
|
|
4611
4610
|
</kendo-dialog-actions>
|
|
4612
|
-
`, isInline: true,
|
|
4613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4611
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1$1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
|
|
4612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
|
|
4614
4613
|
type: Component,
|
|
4615
4614
|
args: [{
|
|
4616
4615
|
template: `
|
|
@@ -4791,8 +4790,8 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
4791
4790
|
return false;
|
|
4792
4791
|
}
|
|
4793
4792
|
}
|
|
4794
|
-
EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4795
|
-
EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4793
|
+
EditorFontSizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4794
|
+
EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
4796
4795
|
<ng-template #toolbarTemplate>
|
|
4797
4796
|
<kendo-editor-fontsize-dropdownlist
|
|
4798
4797
|
#element
|
|
@@ -4822,8 +4821,8 @@ EditorFontSizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4822
4821
|
</span>
|
|
4823
4822
|
</div>
|
|
4824
4823
|
</ng-template>
|
|
4825
|
-
`, isInline: true,
|
|
4826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4824
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
|
|
4825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
|
|
4827
4826
|
type: Component,
|
|
4828
4827
|
args: [{
|
|
4829
4828
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }],
|
|
@@ -5019,8 +5018,8 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
|
5019
5018
|
return false;
|
|
5020
5019
|
}
|
|
5021
5020
|
}
|
|
5022
|
-
EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5023
|
-
EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5021
|
+
EditorFontFamilyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5022
|
+
EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
5024
5023
|
<ng-template #toolbarTemplate>
|
|
5025
5024
|
<kendo-editor-fontfamily-dropdownlist
|
|
5026
5025
|
#element
|
|
@@ -5050,8 +5049,8 @@ EditorFontFamilyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
5050
5049
|
</span>
|
|
5051
5050
|
</div>
|
|
5052
5051
|
</ng-template>
|
|
5053
|
-
`, isInline: true,
|
|
5054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5052
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }] });
|
|
5053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
|
|
5055
5054
|
type: Component,
|
|
5056
5055
|
args: [{
|
|
5057
5056
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }],
|
|
@@ -5110,6 +5109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5110
5109
|
}] } });
|
|
5111
5110
|
|
|
5112
5111
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5112
|
+
// eslint-disable no-forward-ref
|
|
5113
5113
|
/**
|
|
5114
5114
|
* A component which configures an existing ColorPickerComponent as a ToolBar tool.
|
|
5115
5115
|
* To associate a `kendo-toolbar-colorpicker` with an Editor command that changes the
|
|
@@ -5271,8 +5271,8 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5271
5271
|
return false;
|
|
5272
5272
|
}
|
|
5273
5273
|
}
|
|
5274
|
-
EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5275
|
-
EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5274
|
+
EditorColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5275
|
+
EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorColorPickerComponent, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
5276
5276
|
<ng-template #toolbarTemplate>
|
|
5277
5277
|
<kendo-colorpicker
|
|
5278
5278
|
#colorpicker
|
|
@@ -5313,8 +5313,8 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
5313
5313
|
</span>
|
|
5314
5314
|
</div>
|
|
5315
5315
|
</ng-template>
|
|
5316
|
-
`, isInline: true,
|
|
5317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5316
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
5317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
5318
5318
|
type: Component,
|
|
5319
5319
|
args: [{
|
|
5320
5320
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }],
|
|
@@ -5537,8 +5537,8 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
5537
5537
|
return (this.overflows ? this.overflowElement : this.element).nativeElement;
|
|
5538
5538
|
}
|
|
5539
5539
|
}
|
|
5540
|
-
EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5541
|
-
EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5540
|
+
EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2$1.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5541
|
+
EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertTableButtonComponent, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5542
5542
|
<ng-template #toolbarTemplate>
|
|
5543
5543
|
<button
|
|
5544
5544
|
type="button"
|
|
@@ -5570,8 +5570,8 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
5570
5570
|
<ng-template #popupGridTemplate>
|
|
5571
5571
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
5572
5572
|
</ng-template>
|
|
5573
|
-
`, isInline: true,
|
|
5574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5573
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i6$1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
|
|
5574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
5575
5575
|
type: Component,
|
|
5576
5576
|
args: [{
|
|
5577
5577
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }],
|
|
@@ -5610,7 +5610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5610
5610
|
</ng-template>
|
|
5611
5611
|
`
|
|
5612
5612
|
}]
|
|
5613
|
-
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
|
|
5613
|
+
}], ctorParameters: function () { return [{ type: EditorLocalizationService }, { type: i2$1.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }]; }, propDecorators: { toolbarTemplate: [{
|
|
5614
5614
|
type: ViewChild,
|
|
5615
5615
|
args: ['toolbarTemplate', { static: true }]
|
|
5616
5616
|
}], popupTemplate: [{
|
|
@@ -5642,14 +5642,14 @@ class EditorBlockquoteDirective extends EditorCommandButton {
|
|
|
5642
5642
|
super('blockquote', button, localization, providerService, toolsService);
|
|
5643
5643
|
}
|
|
5644
5644
|
}
|
|
5645
|
-
EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5646
|
-
EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5645
|
+
EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5646
|
+
EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorBlockquoteDirective, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
|
|
5647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
|
|
5648
5648
|
type: Directive,
|
|
5649
5649
|
args: [{
|
|
5650
5650
|
selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]'
|
|
5651
5651
|
}]
|
|
5652
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5652
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5653
5653
|
|
|
5654
5654
|
/**
|
|
5655
5655
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Redo** tool
|
|
@@ -5667,14 +5667,14 @@ class EditorRedoButtonDirective extends EditorCommandButton {
|
|
|
5667
5667
|
super('redo', button, localization, providerService, toolsService);
|
|
5668
5668
|
}
|
|
5669
5669
|
}
|
|
5670
|
-
EditorRedoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5671
|
-
EditorRedoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5670
|
+
EditorRedoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorRedoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5671
|
+
EditorRedoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorRedoButtonDirective, selector: "kendo-toolbar-button[kendoEditorRedoButton]", usesInheritance: true, ngImport: i0 });
|
|
5672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorRedoButtonDirective, decorators: [{
|
|
5673
5673
|
type: Directive,
|
|
5674
5674
|
args: [{
|
|
5675
5675
|
selector: 'kendo-toolbar-button[kendoEditorRedoButton]'
|
|
5676
5676
|
}]
|
|
5677
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5677
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5678
5678
|
|
|
5679
5679
|
/**
|
|
5680
5680
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Undo** tool
|
|
@@ -5692,14 +5692,14 @@ class EditorUndoButtonDirective extends EditorCommandButton {
|
|
|
5692
5692
|
super('undo', button, localization, providerService, toolsService);
|
|
5693
5693
|
}
|
|
5694
5694
|
}
|
|
5695
|
-
EditorUndoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5696
|
-
EditorUndoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5695
|
+
EditorUndoButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUndoButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5696
|
+
EditorUndoButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorUndoButtonDirective, selector: "kendo-toolbar-button[kendoEditorUndoButton]", usesInheritance: true, ngImport: i0 });
|
|
5697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorUndoButtonDirective, decorators: [{
|
|
5698
5698
|
type: Directive,
|
|
5699
5699
|
args: [{
|
|
5700
5700
|
selector: 'kendo-toolbar-button[kendoEditorUndoButton]'
|
|
5701
5701
|
}]
|
|
5702
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5702
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5703
5703
|
|
|
5704
5704
|
/**
|
|
5705
5705
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **ViewSource** tool
|
|
@@ -5716,14 +5716,14 @@ class EditorViewSourceButtonDirective extends EditorCommandDialog {
|
|
|
5716
5716
|
super('viewSource', button, localization, providerService, toolsService);
|
|
5717
5717
|
}
|
|
5718
5718
|
}
|
|
5719
|
-
EditorViewSourceButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5720
|
-
EditorViewSourceButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5719
|
+
EditorViewSourceButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorViewSourceButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5720
|
+
EditorViewSourceButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorViewSourceButtonDirective, selector: "kendo-toolbar-button[kendoEditorViewSourceButton]", usesInheritance: true, ngImport: i0 });
|
|
5721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorViewSourceButtonDirective, decorators: [{
|
|
5722
5722
|
type: Directive,
|
|
5723
5723
|
args: [{
|
|
5724
5724
|
selector: 'kendo-toolbar-button[kendoEditorViewSourceButton]'
|
|
5725
5725
|
}]
|
|
5726
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5726
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5727
5727
|
|
|
5728
5728
|
/**
|
|
5729
5729
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Strikethrough** tool
|
|
@@ -5741,14 +5741,14 @@ class EditorStrikethroughButtonDirective extends EditorCommandButton {
|
|
|
5741
5741
|
super('strikethrough', button, localization, providerService, toolsService);
|
|
5742
5742
|
}
|
|
5743
5743
|
}
|
|
5744
|
-
EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5745
|
-
EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5744
|
+
EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5745
|
+
EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorStrikethroughButtonDirective, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
|
|
5746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
|
|
5747
5747
|
type: Directive,
|
|
5748
5748
|
args: [{
|
|
5749
5749
|
selector: 'kendo-toolbar-button[kendoEditorStrikethroughButton]'
|
|
5750
5750
|
}]
|
|
5751
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5751
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5752
5752
|
|
|
5753
5753
|
/**
|
|
5754
5754
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Subscript** tool
|
|
@@ -5766,14 +5766,14 @@ class EditorSubscriptButtonDirective extends EditorCommandButton {
|
|
|
5766
5766
|
super('subscript', button, localization, providerService, toolsService);
|
|
5767
5767
|
}
|
|
5768
5768
|
}
|
|
5769
|
-
EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5770
|
-
EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5769
|
+
EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5770
|
+
EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSubscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
5771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
|
|
5772
5772
|
type: Directive,
|
|
5773
5773
|
args: [{
|
|
5774
5774
|
selector: 'kendo-toolbar-button[kendoEditorSubscriptButton]'
|
|
5775
5775
|
}]
|
|
5776
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5776
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5777
5777
|
|
|
5778
5778
|
/**
|
|
5779
5779
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Superscript** tool
|
|
@@ -5791,14 +5791,14 @@ class EditorSuperscriptButtonDirective extends EditorCommandButton {
|
|
|
5791
5791
|
super('superscript', button, localization, providerService, toolsService);
|
|
5792
5792
|
}
|
|
5793
5793
|
}
|
|
5794
|
-
EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5795
|
-
EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5794
|
+
EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5795
|
+
EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSuperscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
5796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
|
|
5797
5797
|
type: Directive,
|
|
5798
5798
|
args: [{
|
|
5799
5799
|
selector: 'kendo-toolbar-button[kendoEditorSuperscriptButton]'
|
|
5800
5800
|
}]
|
|
5801
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5801
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5802
5802
|
|
|
5803
5803
|
/**
|
|
5804
5804
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **Insert File** tool
|
|
@@ -5815,14 +5815,14 @@ class EditorInsertFileButtonDirective extends EditorCommandDialog {
|
|
|
5815
5815
|
super('insertFile', button, localization, providerService, toolsService);
|
|
5816
5816
|
}
|
|
5817
5817
|
}
|
|
5818
|
-
EditorInsertFileButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5819
|
-
EditorInsertFileButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5818
|
+
EditorInsertFileButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertFileButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5819
|
+
EditorInsertFileButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorInsertFileButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertFileButton]", usesInheritance: true, ngImport: i0 });
|
|
5820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorInsertFileButtonDirective, decorators: [{
|
|
5821
5821
|
type: Directive,
|
|
5822
5822
|
args: [{
|
|
5823
5823
|
selector: 'kendo-toolbar-button[kendoEditorInsertFileButton]'
|
|
5824
5824
|
}]
|
|
5825
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5825
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5826
5826
|
|
|
5827
5827
|
/**
|
|
5828
5828
|
* A directive which configures an `EditorColorPickerComponent`
|
|
@@ -5841,9 +5841,9 @@ class EditorForeColorDirective {
|
|
|
5841
5841
|
this.colorPicker.editorCommand = 'foreColor';
|
|
5842
5842
|
}
|
|
5843
5843
|
}
|
|
5844
|
-
EditorForeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5845
|
-
EditorForeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5844
|
+
EditorForeColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorForeColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5845
|
+
EditorForeColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorForeColorDirective, selector: "[kendoEditorForeColor]", ngImport: i0 });
|
|
5846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorForeColorDirective, decorators: [{
|
|
5847
5847
|
type: Directive,
|
|
5848
5848
|
args: [{
|
|
5849
5849
|
selector: '[kendoEditorForeColor]'
|
|
@@ -5867,9 +5867,9 @@ class EditorBackColorDirective {
|
|
|
5867
5867
|
this.colorPicker.editorCommand = 'backColor';
|
|
5868
5868
|
}
|
|
5869
5869
|
}
|
|
5870
|
-
EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5871
|
-
EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5870
|
+
EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5871
|
+
EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorBackColorDirective, selector: "[kendoEditorBackColor]", ngImport: i0 });
|
|
5872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorBackColorDirective, decorators: [{
|
|
5873
5873
|
type: Directive,
|
|
5874
5874
|
args: [{
|
|
5875
5875
|
selector: '[kendoEditorBackColor]'
|
|
@@ -5891,14 +5891,14 @@ class EditorCleanFormattingButtonDirective extends EditorCommandButton {
|
|
|
5891
5891
|
super('cleanFormatting', button, localization, providerService, toolsService);
|
|
5892
5892
|
}
|
|
5893
5893
|
}
|
|
5894
|
-
EditorCleanFormattingButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5895
|
-
EditorCleanFormattingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5894
|
+
EditorCleanFormattingButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCleanFormattingButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5895
|
+
EditorCleanFormattingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorCleanFormattingButtonDirective, selector: "kendo-toolbar-button[kendoEditorCleanFormattingButton]", usesInheritance: true, ngImport: i0 });
|
|
5896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorCleanFormattingButtonDirective, decorators: [{
|
|
5897
5897
|
type: Directive,
|
|
5898
5898
|
args: [{
|
|
5899
5899
|
selector: 'kendo-toolbar-button[kendoEditorCleanFormattingButton]'
|
|
5900
5900
|
}]
|
|
5901
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5901
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5902
5902
|
|
|
5903
5903
|
/**
|
|
5904
5904
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnBefore** tool
|
|
@@ -5916,14 +5916,14 @@ class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
|
|
|
5916
5916
|
super('addColumnBefore', button, localization, providerService, toolsService);
|
|
5917
5917
|
}
|
|
5918
5918
|
}
|
|
5919
|
-
EditorAddColumnBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5920
|
-
EditorAddColumnBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5919
|
+
EditorAddColumnBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5920
|
+
EditorAddColumnBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddColumnBeforeButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", usesInheritance: true, ngImport: i0 });
|
|
5921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnBeforeButtonDirective, decorators: [{
|
|
5922
5922
|
type: Directive,
|
|
5923
5923
|
args: [{
|
|
5924
5924
|
selector: 'kendo-toolbar-button[kendoEditorAddColumnBeforeButton]'
|
|
5925
5925
|
}]
|
|
5926
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5926
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5927
5927
|
|
|
5928
5928
|
/**
|
|
5929
5929
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnAfter** tool
|
|
@@ -5941,14 +5941,14 @@ class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
|
|
|
5941
5941
|
super('addColumnAfter', button, localization, providerService, toolsService);
|
|
5942
5942
|
}
|
|
5943
5943
|
}
|
|
5944
|
-
EditorAddColumnAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5945
|
-
EditorAddColumnAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5944
|
+
EditorAddColumnAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5945
|
+
EditorAddColumnAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddColumnAfterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", usesInheritance: true, ngImport: i0 });
|
|
5946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddColumnAfterButtonDirective, decorators: [{
|
|
5947
5947
|
type: Directive,
|
|
5948
5948
|
args: [{
|
|
5949
5949
|
selector: 'kendo-toolbar-button[kendoEditorAddColumnAfterButton]'
|
|
5950
5950
|
}]
|
|
5951
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5951
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5952
5952
|
|
|
5953
5953
|
/**
|
|
5954
5954
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowBefore** tool
|
|
@@ -5966,14 +5966,14 @@ class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
|
|
|
5966
5966
|
super('addRowBefore', button, localization, providerService, toolsService);
|
|
5967
5967
|
}
|
|
5968
5968
|
}
|
|
5969
|
-
EditorAddRowBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5970
|
-
EditorAddRowBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5969
|
+
EditorAddRowBeforeButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowBeforeButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5970
|
+
EditorAddRowBeforeButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddRowBeforeButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", usesInheritance: true, ngImport: i0 });
|
|
5971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowBeforeButtonDirective, decorators: [{
|
|
5972
5972
|
type: Directive,
|
|
5973
5973
|
args: [{
|
|
5974
5974
|
selector: 'kendo-toolbar-button[kendoEditorAddRowBeforeButton]'
|
|
5975
5975
|
}]
|
|
5976
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
5976
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
5977
5977
|
|
|
5978
5978
|
/**
|
|
5979
5979
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowAfter** tool
|
|
@@ -5991,14 +5991,14 @@ class EditorAddRowAfterButtonDirective extends EditorCommandButton {
|
|
|
5991
5991
|
super('addRowAfter', button, localization, providerService, toolsService);
|
|
5992
5992
|
}
|
|
5993
5993
|
}
|
|
5994
|
-
EditorAddRowAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5995
|
-
EditorAddRowAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5994
|
+
EditorAddRowAfterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowAfterButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5995
|
+
EditorAddRowAfterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorAddRowAfterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAddRowAfterButton]", usesInheritance: true, ngImport: i0 });
|
|
5996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorAddRowAfterButtonDirective, decorators: [{
|
|
5997
5997
|
type: Directive,
|
|
5998
5998
|
args: [{
|
|
5999
5999
|
selector: 'kendo-toolbar-button[kendoEditorAddRowAfterButton]'
|
|
6000
6000
|
}]
|
|
6001
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6001
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6002
6002
|
|
|
6003
6003
|
/**
|
|
6004
6004
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteColumn** tool
|
|
@@ -6016,14 +6016,14 @@ class EditorDeleteColumnButtonDirective extends EditorCommandButton {
|
|
|
6016
6016
|
super('deleteColumn', button, localization, providerService, toolsService);
|
|
6017
6017
|
}
|
|
6018
6018
|
}
|
|
6019
|
-
EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6020
|
-
EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6019
|
+
EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6020
|
+
EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorDeleteColumnButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
|
|
6021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
|
|
6022
6022
|
type: Directive,
|
|
6023
6023
|
args: [{
|
|
6024
6024
|
selector: 'kendo-toolbar-button[kendoEditorDeleteColumnButton]'
|
|
6025
6025
|
}]
|
|
6026
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6026
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6027
6027
|
|
|
6028
6028
|
/**
|
|
6029
6029
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteRow** tool
|
|
@@ -6041,14 +6041,14 @@ class EditorDeleteRowButtonDirective extends EditorCommandButton {
|
|
|
6041
6041
|
super('deleteRow', button, localization, providerService, toolsService);
|
|
6042
6042
|
}
|
|
6043
6043
|
}
|
|
6044
|
-
EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6045
|
-
EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6044
|
+
EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6045
|
+
EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorDeleteRowButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
|
|
6046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
|
|
6047
6047
|
type: Directive,
|
|
6048
6048
|
args: [{
|
|
6049
6049
|
selector: 'kendo-toolbar-button[kendoEditorDeleteRowButton]'
|
|
6050
6050
|
}]
|
|
6051
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6051
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6052
6052
|
|
|
6053
6053
|
/**
|
|
6054
6054
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteTable** tool
|
|
@@ -6066,14 +6066,14 @@ class EditorDeleteTableButtonDirective extends EditorCommandButton {
|
|
|
6066
6066
|
super('deleteTable', button, localization, providerService, toolsService);
|
|
6067
6067
|
}
|
|
6068
6068
|
}
|
|
6069
|
-
EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6070
|
-
EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6069
|
+
EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6070
|
+
EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorDeleteTableButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
|
|
6071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
|
|
6072
6072
|
type: Directive,
|
|
6073
6073
|
args: [{
|
|
6074
6074
|
selector: 'kendo-toolbar-button[kendoEditorDeleteTableButton]'
|
|
6075
6075
|
}]
|
|
6076
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6076
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6077
6077
|
|
|
6078
6078
|
/**
|
|
6079
6079
|
* @hidden
|
|
@@ -6093,14 +6093,14 @@ class EditorMergeCellsButtonDirective extends EditorCommandButton {
|
|
|
6093
6093
|
super('mergeCells', button, localization, providerService, toolsService);
|
|
6094
6094
|
}
|
|
6095
6095
|
}
|
|
6096
|
-
EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6097
|
-
EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6096
|
+
EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6097
|
+
EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorMergeCellsButtonDirective, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
|
|
6098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
|
|
6099
6099
|
type: Directive,
|
|
6100
6100
|
args: [{
|
|
6101
6101
|
selector: 'kendo-toolbar-button[kendoEditorMergeCellsButton]'
|
|
6102
6102
|
}]
|
|
6103
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6103
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6104
6104
|
|
|
6105
6105
|
/**
|
|
6106
6106
|
* @hidden
|
|
@@ -6120,14 +6120,14 @@ class EditorSplitCellButtonDirective extends EditorCommandButton {
|
|
|
6120
6120
|
super('splitCell', button, localization, providerService, toolsService);
|
|
6121
6121
|
}
|
|
6122
6122
|
}
|
|
6123
|
-
EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6124
|
-
EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6123
|
+
EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6124
|
+
EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSplitCellButtonDirective, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
|
|
6125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
|
|
6126
6126
|
type: Directive,
|
|
6127
6127
|
args: [{
|
|
6128
6128
|
selector: 'kendo-toolbar-button[kendoEditorSplitCellButton]'
|
|
6129
6129
|
}]
|
|
6130
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6130
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6131
6131
|
|
|
6132
6132
|
/**
|
|
6133
6133
|
* Custom component messages override default component messages
|
|
@@ -6142,14 +6142,14 @@ class CustomMessagesComponent extends MessagesDirective {
|
|
|
6142
6142
|
return true;
|
|
6143
6143
|
}
|
|
6144
6144
|
}
|
|
6145
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6146
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6145
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6146
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CustomMessagesComponent, selector: "kendo-editor-messages", providers: [
|
|
6147
6147
|
{
|
|
6148
6148
|
provide: MessagesDirective,
|
|
6149
6149
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
6150
6150
|
}
|
|
6151
6151
|
], usesInheritance: true, ngImport: i0 });
|
|
6152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
6153
6153
|
type: Directive,
|
|
6154
6154
|
args: [{
|
|
6155
6155
|
providers: [
|
|
@@ -6198,14 +6198,14 @@ class EditorPrintDirective extends EditorCommandButton {
|
|
|
6198
6198
|
}
|
|
6199
6199
|
}
|
|
6200
6200
|
}
|
|
6201
|
-
EditorPrintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6202
|
-
EditorPrintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6201
|
+
EditorPrintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorPrintDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6202
|
+
EditorPrintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorPrintDirective, selector: "kendo-toolbar-button[kendoEditorPrintButton]", usesInheritance: true, ngImport: i0 });
|
|
6203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorPrintDirective, decorators: [{
|
|
6204
6204
|
type: Directive,
|
|
6205
6205
|
args: [{
|
|
6206
6206
|
selector: 'kendo-toolbar-button[kendoEditorPrintButton]'
|
|
6207
6207
|
}]
|
|
6208
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6208
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6209
6209
|
|
|
6210
6210
|
/**
|
|
6211
6211
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor **SelectAll** tool
|
|
@@ -6226,14 +6226,14 @@ class EditorSelectAllButtonDirective extends EditorCommandButton {
|
|
|
6226
6226
|
super.clickHandler();
|
|
6227
6227
|
}
|
|
6228
6228
|
}
|
|
6229
|
-
EditorSelectAllButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6230
|
-
EditorSelectAllButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6229
|
+
EditorSelectAllButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSelectAllButtonDirective, deps: [{ token: i1$2.ToolBarButtonComponent }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6230
|
+
EditorSelectAllButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: EditorSelectAllButtonDirective, selector: "kendo-toolbar-button[kendoEditorSelectAllButton]", usesInheritance: true, ngImport: i0 });
|
|
6231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorSelectAllButtonDirective, decorators: [{
|
|
6232
6232
|
type: Directive,
|
|
6233
6233
|
args: [{
|
|
6234
6234
|
selector: 'kendo-toolbar-button[kendoEditorSelectAllButton]'
|
|
6235
6235
|
}]
|
|
6236
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6236
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
|
|
6237
6237
|
|
|
6238
6238
|
const COMPONENT_DIRECTIVES = [
|
|
6239
6239
|
//alignment
|
|
@@ -6342,8 +6342,8 @@ const INTERNAL_COMPONENTS = [
|
|
|
6342
6342
|
*/
|
|
6343
6343
|
class EditorModule {
|
|
6344
6344
|
}
|
|
6345
|
-
EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6346
|
-
EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
6345
|
+
EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6346
|
+
EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, declarations: [EditorComponent,
|
|
6347
6347
|
//alignment
|
|
6348
6348
|
EditorAlignLeftButtonDirective,
|
|
6349
6349
|
EditorAlignCenterButtonDirective,
|
|
@@ -6504,29 +6504,27 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
6504
6504
|
FormatDropDownListComponent,
|
|
6505
6505
|
FontFamilyDropDownListComponent,
|
|
6506
6506
|
FontSizeDropDownListComponent] });
|
|
6507
|
-
EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
WatermarkModule
|
|
6525
|
-
], ToolBarModule,
|
|
6507
|
+
EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, imports: [CommonModule,
|
|
6508
|
+
FormsModule,
|
|
6509
|
+
ReactiveFormsModule,
|
|
6510
|
+
//Kendo UI Angular Modules
|
|
6511
|
+
ButtonModule,
|
|
6512
|
+
ColorPickerModule,
|
|
6513
|
+
DialogModule,
|
|
6514
|
+
DropDownsModule,
|
|
6515
|
+
NumericTextBoxModule,
|
|
6516
|
+
CheckBoxModule,
|
|
6517
|
+
IconsModule,
|
|
6518
|
+
ToolBarModule,
|
|
6519
|
+
TextBoxModule,
|
|
6520
|
+
TextAreaModule,
|
|
6521
|
+
FormFieldModule,
|
|
6522
|
+
LabelModule,
|
|
6523
|
+
WatermarkModule, ToolBarModule,
|
|
6526
6524
|
ButtonModule,
|
|
6527
6525
|
FormsModule,
|
|
6528
6526
|
ReactiveFormsModule] });
|
|
6529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EditorModule, decorators: [{
|
|
6530
6528
|
type: NgModule,
|
|
6531
6529
|
args: [{
|
|
6532
6530
|
declarations: [
|
|
@@ -6576,5 +6574,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6576
6574
|
* Generated bundle index. Do not edit.
|
|
6577
6575
|
*/
|
|
6578
6576
|
|
|
6579
|
-
export { CustomMessagesComponent, DropDownToolDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBackColorDirective, EditorBlockquoteDirective, EditorBoldButtonDirective, EditorCleanFormattingButtonDirective, EditorColorPickerComponent, EditorComponent, EditorCreateLinkButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorFontFamilyComponent, EditorFontSizeComponent, EditorForeColorDirective, EditorFormatComponent, EditorIndentButtonDirective, EditorInsertFileButtonDirective, EditorInsertImageButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertTableButtonComponent, EditorInsertUnorderedListButtonDirective, EditorItalicButtonDirective, EditorMergeCellsButtonDirective, EditorModule, EditorOutdentButtonDirective, EditorPasteEvent, EditorPrintDirective, EditorRedoButtonDirective, EditorSelectAllButtonDirective, EditorSplitCellButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorUndoButtonDirective, EditorUnlinkButtonDirective, EditorViewSourceButtonDirective, FontFamilyDropDownListComponent, FontSizeDropDownListComponent, FormatDropDownListComponent, LocalizedMessagesDirective, PopupTableGridComponent, PreventableEvent, getSelectionText, schema };
|
|
6577
|
+
export { CustomMessagesComponent, DropDownToolDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBackColorDirective, EditorBlockquoteDirective, EditorBoldButtonDirective, EditorCleanFormattingButtonDirective, EditorColorPickerComponent, EditorComponent, EditorCreateLinkButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorFontFamilyComponent, EditorFontSizeComponent, EditorForeColorDirective, EditorFormatComponent, EditorIndentButtonDirective, EditorInsertFileButtonDirective, EditorInsertImageButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertTableButtonComponent, EditorInsertUnorderedListButtonDirective, EditorItalicButtonDirective, EditorLocalizationService, EditorMergeCellsButtonDirective, EditorModule, EditorOutdentButtonDirective, EditorPasteEvent, EditorPrintDirective, EditorRedoButtonDirective, EditorSelectAllButtonDirective, EditorSplitCellButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorUndoButtonDirective, EditorUnlinkButtonDirective, EditorViewSourceButtonDirective, FontFamilyDropDownListComponent, FontSizeDropDownListComponent, FormatDropDownListComponent, LocalizedMessagesDirective, PopupTableGridComponent, PreventableEvent, getSelectionText, schema };
|
|
6580
6578
|
|