@progress/kendo-angular-editor 2.5.0-dev.202111240844 → 2.5.0-dev.202111261548
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/dist/cdn/js/kendo-angular-editor.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/editor.component.js +7 -2
- package/dist/es/index.js +1 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/alignment/editor-align-center-button.directive.js +5 -3
- package/dist/es/tools/alignment/editor-align-justify-button.directive.js +5 -3
- package/dist/es/tools/alignment/editor-align-left-button.directive.js +5 -3
- package/dist/es/tools/alignment/editor-align-right-button.directive.js +5 -3
- package/dist/es/tools/editor-clean-formatting-button.directive.js +5 -3
- package/dist/es/tools/fontfamily/editor-fontfamily.component.js +9 -3
- package/dist/es/tools/fontsize/editor-fontsize.component.js +9 -3
- package/dist/es/tools/format/editor-format.component.js +9 -3
- package/dist/es/tools/history/editor-redo-button.directive.js +5 -3
- package/dist/es/tools/history/editor-undo-button.directive.js +5 -3
- package/dist/es/tools/image/editor-insert-image-button.directive.js +5 -3
- package/dist/es/tools/indentation/editor-indent-button.directive.js +5 -3
- package/dist/es/tools/indentation/editor-outdent-button.directive.js +5 -3
- package/dist/es/tools/link/editor-create-link-button.directive.js +5 -3
- package/dist/es/tools/link/editor-insert-file-button.directive.js +5 -3
- package/dist/es/tools/link/editor-unlink-button.directive.js +5 -3
- package/dist/es/tools/list/editor-insert-ordered-list-button.directive.js +5 -3
- package/dist/es/tools/list/editor-insert-unordered-list-button.directive.js +5 -3
- package/dist/es/tools/print/editor-print-button.directive.js +5 -3
- package/dist/es/tools/select-all/select-all-button.directive.js +5 -3
- package/dist/es/tools/shared/editor-command-base.js +3 -1
- package/dist/es/tools/shared/editor-command-button.js +3 -2
- package/dist/es/tools/shared/editor-command-dialog.js +3 -2
- package/dist/es/tools/source/editor-view-source-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-add-column-after-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-add-column-before-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-add-row-after-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-add-row-before-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-delete-column-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-delete-row-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-delete-table-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-merge-cells-button.directive.js +5 -3
- package/dist/es/tools/tables/editor-split-cell-button.directive.js +5 -3
- package/dist/es/tools/tools.service.js +20 -0
- package/dist/es/tools/typographical-emphasis/editor-bold-button.directive.js +5 -3
- package/dist/es/tools/typographical-emphasis/editor-italic-button.directive.js +5 -3
- package/dist/es/tools/typographical-emphasis/editor-strikethrough-button.directive.js +5 -3
- package/dist/es/tools/typographical-emphasis/editor-subscript-button.directive.js +5 -3
- package/dist/es/tools/typographical-emphasis/editor-superscript-button.directive.js +5 -3
- package/dist/es/tools/typographical-emphasis/editor-underline-button.directive.js +5 -3
- package/dist/es2015/editor.component.d.ts +3 -1
- package/dist/es2015/editor.component.js +7 -2
- package/dist/es2015/index.d.ts +1 -0
- package/dist/es2015/index.js +1 -0
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/tools/alignment/editor-align-center-button.directive.d.ts +2 -1
- package/dist/es2015/tools/alignment/editor-align-center-button.directive.js +5 -3
- package/dist/es2015/tools/alignment/editor-align-justify-button.directive.d.ts +2 -1
- package/dist/es2015/tools/alignment/editor-align-justify-button.directive.js +5 -3
- package/dist/es2015/tools/alignment/editor-align-left-button.directive.d.ts +2 -1
- package/dist/es2015/tools/alignment/editor-align-left-button.directive.js +5 -3
- package/dist/es2015/tools/alignment/editor-align-right-button.directive.d.ts +2 -1
- package/dist/es2015/tools/alignment/editor-align-right-button.directive.js +5 -3
- package/dist/es2015/tools/editor-clean-formatting-button.directive.d.ts +2 -1
- package/dist/es2015/tools/editor-clean-formatting-button.directive.js +5 -3
- package/dist/es2015/tools/fontfamily/editor-fontfamily.component.d.ts +3 -1
- package/dist/es2015/tools/fontfamily/editor-fontfamily.component.js +9 -3
- package/dist/es2015/tools/fontsize/editor-fontsize.component.d.ts +3 -1
- package/dist/es2015/tools/fontsize/editor-fontsize.component.js +9 -3
- package/dist/es2015/tools/format/editor-format.component.d.ts +3 -1
- package/dist/es2015/tools/format/editor-format.component.js +9 -3
- package/dist/es2015/tools/history/editor-redo-button.directive.d.ts +2 -1
- package/dist/es2015/tools/history/editor-redo-button.directive.js +5 -3
- package/dist/es2015/tools/history/editor-undo-button.directive.d.ts +2 -1
- package/dist/es2015/tools/history/editor-undo-button.directive.js +5 -3
- package/dist/es2015/tools/image/editor-insert-image-button.directive.d.ts +2 -1
- package/dist/es2015/tools/image/editor-insert-image-button.directive.js +5 -3
- package/dist/es2015/tools/indentation/editor-indent-button.directive.d.ts +2 -1
- package/dist/es2015/tools/indentation/editor-indent-button.directive.js +5 -3
- package/dist/es2015/tools/indentation/editor-outdent-button.directive.d.ts +2 -1
- package/dist/es2015/tools/indentation/editor-outdent-button.directive.js +5 -3
- package/dist/es2015/tools/link/editor-create-link-button.directive.d.ts +2 -1
- package/dist/es2015/tools/link/editor-create-link-button.directive.js +5 -3
- package/dist/es2015/tools/link/editor-insert-file-button.directive.d.ts +2 -1
- package/dist/es2015/tools/link/editor-insert-file-button.directive.js +5 -3
- package/dist/es2015/tools/link/editor-unlink-button.directive.d.ts +2 -1
- package/dist/es2015/tools/link/editor-unlink-button.directive.js +5 -3
- package/dist/es2015/tools/list/editor-insert-ordered-list-button.directive.d.ts +2 -1
- package/dist/es2015/tools/list/editor-insert-ordered-list-button.directive.js +5 -3
- package/dist/es2015/tools/list/editor-insert-unordered-list-button.directive.d.ts +2 -1
- package/dist/es2015/tools/list/editor-insert-unordered-list-button.directive.js +5 -3
- package/dist/es2015/tools/print/editor-print-button.directive.d.ts +2 -1
- package/dist/es2015/tools/print/editor-print-button.directive.js +5 -3
- package/dist/es2015/tools/select-all/select-all-button.directive.d.ts +2 -1
- package/dist/es2015/tools/select-all/select-all-button.directive.js +5 -3
- package/dist/es2015/tools/shared/editor-command-base.d.ts +3 -1
- package/dist/es2015/tools/shared/editor-command-base.js +3 -1
- package/dist/es2015/tools/shared/editor-command-button.d.ts +3 -1
- package/dist/es2015/tools/shared/editor-command-button.js +3 -2
- package/dist/es2015/tools/shared/editor-command-dialog.d.ts +3 -1
- package/dist/es2015/tools/shared/editor-command-dialog.js +3 -2
- package/dist/es2015/tools/source/editor-view-source-button.directive.d.ts +2 -1
- package/dist/es2015/tools/source/editor-view-source-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-add-column-after-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-add-column-after-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-add-column-before-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-add-column-before-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-add-row-after-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-add-row-after-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-add-row-before-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-add-row-before-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-delete-column-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-delete-column-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-delete-row-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-delete-row-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-delete-table-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-delete-table-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-merge-cells-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-merge-cells-button.directive.js +5 -3
- package/dist/es2015/tools/tables/editor-split-cell-button.directive.d.ts +2 -1
- package/dist/es2015/tools/tables/editor-split-cell-button.directive.js +5 -3
- package/dist/es2015/tools/tools.service.d.ts +11 -0
- package/dist/es2015/tools/tools.service.js +22 -0
- package/dist/es2015/tools/typographical-emphasis/editor-bold-button.directive.d.ts +2 -1
- package/dist/es2015/tools/typographical-emphasis/editor-bold-button.directive.js +5 -3
- package/dist/es2015/tools/typographical-emphasis/editor-italic-button.directive.d.ts +2 -1
- package/dist/es2015/tools/typographical-emphasis/editor-italic-button.directive.js +5 -3
- package/dist/es2015/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +2 -1
- package/dist/es2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js +5 -3
- package/dist/es2015/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +2 -1
- package/dist/es2015/tools/typographical-emphasis/editor-subscript-button.directive.js +5 -3
- package/dist/es2015/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +2 -1
- package/dist/es2015/tools/typographical-emphasis/editor-superscript-button.directive.js +5 -3
- package/dist/es2015/tools/typographical-emphasis/editor-underline-button.directive.d.ts +2 -1
- package/dist/es2015/tools/typographical-emphasis/editor-underline-button.directive.js +5 -3
- package/dist/fesm2015/index.js +190 -119
- package/dist/fesm5/index.js +188 -119
- package/dist/npm/editor.component.js +7 -2
- package/dist/npm/index.js +2 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/alignment/editor-align-center-button.directive.js +5 -3
- package/dist/npm/tools/alignment/editor-align-justify-button.directive.js +5 -3
- package/dist/npm/tools/alignment/editor-align-left-button.directive.js +5 -3
- package/dist/npm/tools/alignment/editor-align-right-button.directive.js +5 -3
- package/dist/npm/tools/editor-clean-formatting-button.directive.js +5 -3
- package/dist/npm/tools/fontfamily/editor-fontfamily.component.js +9 -3
- package/dist/npm/tools/fontsize/editor-fontsize.component.js +9 -3
- package/dist/npm/tools/format/editor-format.component.js +9 -3
- package/dist/npm/tools/history/editor-redo-button.directive.js +5 -3
- package/dist/npm/tools/history/editor-undo-button.directive.js +5 -3
- package/dist/npm/tools/image/editor-insert-image-button.directive.js +5 -3
- package/dist/npm/tools/indentation/editor-indent-button.directive.js +5 -3
- package/dist/npm/tools/indentation/editor-outdent-button.directive.js +5 -3
- package/dist/npm/tools/link/editor-create-link-button.directive.js +5 -3
- package/dist/npm/tools/link/editor-insert-file-button.directive.js +5 -3
- package/dist/npm/tools/link/editor-unlink-button.directive.js +5 -3
- package/dist/npm/tools/list/editor-insert-ordered-list-button.directive.js +5 -3
- package/dist/npm/tools/list/editor-insert-unordered-list-button.directive.js +5 -3
- package/dist/npm/tools/print/editor-print-button.directive.js +5 -3
- package/dist/npm/tools/select-all/select-all-button.directive.js +5 -3
- package/dist/npm/tools/shared/editor-command-base.js +3 -1
- package/dist/npm/tools/shared/editor-command-button.js +3 -2
- package/dist/npm/tools/shared/editor-command-dialog.js +3 -2
- package/dist/npm/tools/source/editor-view-source-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-add-column-after-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-add-column-before-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-add-row-after-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-add-row-before-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-delete-column-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-delete-row-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-delete-table-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-merge-cells-button.directive.js +5 -3
- package/dist/npm/tools/tables/editor-split-cell-button.directive.js +5 -3
- package/dist/npm/tools/tools.service.js +22 -0
- package/dist/npm/tools/typographical-emphasis/editor-bold-button.directive.js +5 -3
- package/dist/npm/tools/typographical-emphasis/editor-italic-button.directive.js +5 -3
- package/dist/npm/tools/typographical-emphasis/editor-strikethrough-button.directive.js +5 -3
- package/dist/npm/tools/typographical-emphasis/editor-subscript-button.directive.js +5 -3
- package/dist/npm/tools/typographical-emphasis/editor-superscript-button.directive.js +5 -3
- package/dist/npm/tools/typographical-emphasis/editor-underline-button.directive.js +5 -3
- package/dist/systemjs/kendo-angular-editor.js +1 -1
- package/package.json +1 -1
package/dist/fesm2015/index.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { __decorate, __param, __metadata } from 'tslib';
|
|
6
|
-
import { Inject, Optional, Input, ViewChild, ElementRef, Component, EventEmitter, isDevMode, Output, HostBinding, ContentChild, ViewContainerRef, forwardRef, ChangeDetectorRef, NgZone, TemplateRef, Host, Directive, NgModule } from '@angular/core';
|
|
6
|
+
import { Inject, Optional, Input, ViewChild, ElementRef, Component, Injectable, EventEmitter, isDevMode, Output, HostBinding, ContentChild, ViewContainerRef, forwardRef, ChangeDetectorRef, NgZone, TemplateRef, Host, Directive, NgModule } from '@angular/core';
|
|
7
7
|
import { FormControl, Validators, FormGroup, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
import {
|
|
8
|
+
import { Subject, BehaviorSubject, zip, fromEvent, merge, interval } from 'rxjs';
|
|
9
9
|
import { take, filter, auditTime, map, concatMap, takeUntil } from 'rxjs/operators';
|
|
10
10
|
import { ToolBarComponent, ToolBarToolComponent, ToolBarButtonComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
|
|
11
11
|
import { DialogContentBase, DialogRef, DialogService, DialogModule } from '@progress/kendo-angular-dialog';
|
|
@@ -27,7 +27,7 @@ const packageMetadata = {
|
|
|
27
27
|
name: '@progress/kendo-angular-editor',
|
|
28
28
|
productName: 'Kendo UI for Angular',
|
|
29
29
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
30
|
-
publishDate:
|
|
30
|
+
publishDate: 1637941374,
|
|
31
31
|
version: '',
|
|
32
32
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
33
33
|
};
|
|
@@ -2547,6 +2547,21 @@ const EditorErrorMessages = {
|
|
|
2547
2547
|
printTool: 'The Print tool and functionality are supported only in iframe mode. See https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/EditorPrintButtonDirective/'
|
|
2548
2548
|
};
|
|
2549
2549
|
|
|
2550
|
+
/**
|
|
2551
|
+
* @hidden
|
|
2552
|
+
*/
|
|
2553
|
+
let EditorToolsService = class EditorToolsService {
|
|
2554
|
+
/**
|
|
2555
|
+
* @hidden
|
|
2556
|
+
*/
|
|
2557
|
+
constructor() {
|
|
2558
|
+
this.needsCheck = new Subject();
|
|
2559
|
+
}
|
|
2560
|
+
};
|
|
2561
|
+
EditorToolsService = __decorate([
|
|
2562
|
+
Injectable()
|
|
2563
|
+
], EditorToolsService);
|
|
2564
|
+
|
|
2550
2565
|
var EditorComponent_1;
|
|
2551
2566
|
const EMPTY_PARAGRAPH = '<p></p>';
|
|
2552
2567
|
const defaultPasteCleanupSettings = {
|
|
@@ -2574,12 +2589,13 @@ const getPasteCleanupAttributes = (config) => {
|
|
|
2574
2589
|
* Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
|
|
2575
2590
|
*/
|
|
2576
2591
|
let EditorComponent = EditorComponent_1 = class EditorComponent {
|
|
2577
|
-
constructor(dialogService, localization, cdr, ngZone, element) {
|
|
2592
|
+
constructor(dialogService, localization, cdr, ngZone, element, toolsService) {
|
|
2578
2593
|
this.dialogService = dialogService;
|
|
2579
2594
|
this.localization = localization;
|
|
2580
2595
|
this.cdr = cdr;
|
|
2581
2596
|
this.ngZone = ngZone;
|
|
2582
2597
|
this.element = element;
|
|
2598
|
+
this.toolsService = toolsService;
|
|
2583
2599
|
/**
|
|
2584
2600
|
* If set to `false`, the Editor will run in style non-encapsulated mode. This means
|
|
2585
2601
|
* that the styles of the page will be persisted in the Editor and its content will be affected by them.
|
|
@@ -2848,6 +2864,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
|
|
|
2848
2864
|
this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
|
|
2849
2865
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
2850
2866
|
}));
|
|
2867
|
+
this.subs.add(this.toolsService.needsCheck.subscribe(() => this.cdr.markForCheck()));
|
|
2851
2868
|
}
|
|
2852
2869
|
ngAfterViewInit() {
|
|
2853
2870
|
this.afterViewInit.next();
|
|
@@ -3397,6 +3414,7 @@ EditorComponent = EditorComponent_1 = __decorate([
|
|
|
3397
3414
|
selector: 'kendo-editor',
|
|
3398
3415
|
providers: [
|
|
3399
3416
|
EditorLocalizationService,
|
|
3417
|
+
EditorToolsService,
|
|
3400
3418
|
{
|
|
3401
3419
|
provide: LocalizationService,
|
|
3402
3420
|
useExisting: EditorLocalizationService
|
|
@@ -3583,7 +3601,8 @@ EditorComponent = EditorComponent_1 = __decorate([
|
|
|
3583
3601
|
LocalizationService,
|
|
3584
3602
|
ChangeDetectorRef,
|
|
3585
3603
|
NgZone,
|
|
3586
|
-
ElementRef
|
|
3604
|
+
ElementRef,
|
|
3605
|
+
EditorToolsService])
|
|
3587
3606
|
], EditorComponent);
|
|
3588
3607
|
|
|
3589
3608
|
/**
|
|
@@ -4085,11 +4104,12 @@ var EditorFormatComponent_1;
|
|
|
4085
4104
|
* ```
|
|
4086
4105
|
*/
|
|
4087
4106
|
let EditorFormatComponent = EditorFormatComponent_1 = class EditorFormatComponent extends ToolBarToolComponent {
|
|
4088
|
-
constructor(editor, dialogService, localization) {
|
|
4107
|
+
constructor(editor, dialogService, localization, toolsService) {
|
|
4089
4108
|
super();
|
|
4090
4109
|
this.editor = editor;
|
|
4091
4110
|
this.dialogService = dialogService;
|
|
4092
4111
|
this.localization = localization;
|
|
4112
|
+
this.toolsService = toolsService;
|
|
4093
4113
|
this.disabled = false;
|
|
4094
4114
|
this.tabindex = -1;
|
|
4095
4115
|
/**
|
|
@@ -4125,7 +4145,10 @@ let EditorFormatComponent = EditorFormatComponent_1 = class EditorFormatComponen
|
|
|
4125
4145
|
return itemArgs.dataItem.tag === null;
|
|
4126
4146
|
}
|
|
4127
4147
|
};
|
|
4128
|
-
setTimeout(() =>
|
|
4148
|
+
setTimeout(() => {
|
|
4149
|
+
this.defaultItem = { text: this.title, tag: null };
|
|
4150
|
+
this.toolsService.needsCheck.next();
|
|
4151
|
+
});
|
|
4129
4152
|
this.subs = this.editor.stateChange.subscribe(({ format }) => {
|
|
4130
4153
|
const index = this.data.findIndex(item => item.tag === format.selected.tag);
|
|
4131
4154
|
this.value = index !== -1 ? format.selected.tag : null;
|
|
@@ -4266,7 +4289,8 @@ EditorFormatComponent = EditorFormatComponent_1 = __decorate([
|
|
|
4266
4289
|
__param(0, Host()),
|
|
4267
4290
|
__metadata("design:paramtypes", [EditorComponent,
|
|
4268
4291
|
DialogService,
|
|
4269
|
-
EditorLocalizationService
|
|
4292
|
+
EditorLocalizationService,
|
|
4293
|
+
EditorToolsService])
|
|
4270
4294
|
], EditorFormatComponent);
|
|
4271
4295
|
|
|
4272
4296
|
/**
|
|
@@ -4438,11 +4462,12 @@ var EditorFontSizeComponent_1;
|
|
|
4438
4462
|
* ```
|
|
4439
4463
|
*/
|
|
4440
4464
|
let EditorFontSizeComponent = EditorFontSizeComponent_1 = class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
4441
|
-
constructor(editor, dialogService, localization) {
|
|
4465
|
+
constructor(editor, dialogService, localization, toolsService) {
|
|
4442
4466
|
super();
|
|
4443
4467
|
this.editor = editor;
|
|
4444
4468
|
this.dialogService = dialogService;
|
|
4445
4469
|
this.localization = localization;
|
|
4470
|
+
this.toolsService = toolsService;
|
|
4446
4471
|
this.disabled = false;
|
|
4447
4472
|
this.tabindex = -1;
|
|
4448
4473
|
/**
|
|
@@ -4477,7 +4502,10 @@ let EditorFontSizeComponent = EditorFontSizeComponent_1 = class EditorFontSizeCo
|
|
|
4477
4502
|
return itemArgs.dataItem.size === null;
|
|
4478
4503
|
}
|
|
4479
4504
|
};
|
|
4480
|
-
setTimeout(() =>
|
|
4505
|
+
setTimeout(() => {
|
|
4506
|
+
this.defaultItem = { text: this.title, size: null };
|
|
4507
|
+
this.toolsService.needsCheck.next();
|
|
4508
|
+
});
|
|
4481
4509
|
this.subs = this.editor.stateChange.subscribe(({ style }) => {
|
|
4482
4510
|
// remove units(px, em, rem...)
|
|
4483
4511
|
// string#match returns array
|
|
@@ -4622,7 +4650,8 @@ EditorFontSizeComponent = EditorFontSizeComponent_1 = __decorate([
|
|
|
4622
4650
|
__param(0, Host()),
|
|
4623
4651
|
__metadata("design:paramtypes", [EditorComponent,
|
|
4624
4652
|
DialogService,
|
|
4625
|
-
EditorLocalizationService
|
|
4653
|
+
EditorLocalizationService,
|
|
4654
|
+
EditorToolsService])
|
|
4626
4655
|
], EditorFontSizeComponent);
|
|
4627
4656
|
|
|
4628
4657
|
var EditorFontFamilyComponent_1;
|
|
@@ -4638,11 +4667,12 @@ var EditorFontFamilyComponent_1;
|
|
|
4638
4667
|
* ```
|
|
4639
4668
|
*/
|
|
4640
4669
|
let EditorFontFamilyComponent = EditorFontFamilyComponent_1 = class EditorFontFamilyComponent extends ToolBarToolComponent {
|
|
4641
|
-
constructor(editor, dialogService, localization) {
|
|
4670
|
+
constructor(editor, dialogService, localization, toolsService) {
|
|
4642
4671
|
super();
|
|
4643
4672
|
this.editor = editor;
|
|
4644
4673
|
this.dialogService = dialogService;
|
|
4645
4674
|
this.localization = localization;
|
|
4675
|
+
this.toolsService = toolsService;
|
|
4646
4676
|
this.disabled = false;
|
|
4647
4677
|
this.tabindex = -1;
|
|
4648
4678
|
/**
|
|
@@ -4684,7 +4714,10 @@ let EditorFontFamilyComponent = EditorFontFamilyComponent_1 = class EditorFontFa
|
|
|
4684
4714
|
return itemArgs.dataItem.fontName === null;
|
|
4685
4715
|
}
|
|
4686
4716
|
};
|
|
4687
|
-
setTimeout(() =>
|
|
4717
|
+
setTimeout(() => {
|
|
4718
|
+
this.defaultItem = { text: this.title, fontName: null };
|
|
4719
|
+
this.toolsService.needsCheck.next();
|
|
4720
|
+
});
|
|
4688
4721
|
this.subs = this.editor.stateChange.subscribe(({ style }) => {
|
|
4689
4722
|
this.value = getUniqueStyleValues(style.selected, 'font-family') || null;
|
|
4690
4723
|
this.disabled = style.disabled;
|
|
@@ -4827,7 +4860,8 @@ EditorFontFamilyComponent = EditorFontFamilyComponent_1 = __decorate([
|
|
|
4827
4860
|
__param(0, Host()),
|
|
4828
4861
|
__metadata("design:paramtypes", [EditorComponent,
|
|
4829
4862
|
DialogService,
|
|
4830
|
-
EditorLocalizationService
|
|
4863
|
+
EditorLocalizationService,
|
|
4864
|
+
EditorToolsService])
|
|
4831
4865
|
], EditorFontFamilyComponent);
|
|
4832
4866
|
|
|
4833
4867
|
// tslint:disable:no-forward-ref
|
|
@@ -5369,11 +5403,12 @@ const commandIcons = {
|
|
|
5369
5403
|
* @hidden
|
|
5370
5404
|
*/
|
|
5371
5405
|
class EditorCommandBase {
|
|
5372
|
-
constructor(command, button, editor, localization) {
|
|
5406
|
+
constructor(command, button, editor, localization, toolsService) {
|
|
5373
5407
|
this.command = command;
|
|
5374
5408
|
this.button = button;
|
|
5375
5409
|
this.editor = editor;
|
|
5376
5410
|
this.localization = localization;
|
|
5411
|
+
this.toolsService = toolsService;
|
|
5377
5412
|
setTimeout(() => {
|
|
5378
5413
|
const text = this.localization.get(this.command);
|
|
5379
5414
|
if (text) {
|
|
@@ -5385,6 +5420,7 @@ class EditorCommandBase {
|
|
|
5385
5420
|
this.button.icon = commandIcons[this.command];
|
|
5386
5421
|
}
|
|
5387
5422
|
this.button.title = text;
|
|
5423
|
+
this.toolsService.needsCheck.next();
|
|
5388
5424
|
});
|
|
5389
5425
|
}
|
|
5390
5426
|
ngOnInit() {
|
|
@@ -5409,12 +5445,13 @@ class EditorCommandBase {
|
|
|
5409
5445
|
* @hidden
|
|
5410
5446
|
*/
|
|
5411
5447
|
class EditorCommandButton extends EditorCommandBase {
|
|
5412
|
-
constructor(command, button, editor, localization) {
|
|
5413
|
-
super(command, button, editor, localization);
|
|
5448
|
+
constructor(command, button, editor, localization, toolsService) {
|
|
5449
|
+
super(command, button, editor, localization, toolsService);
|
|
5414
5450
|
this.command = command;
|
|
5415
5451
|
this.button = button;
|
|
5416
5452
|
this.editor = editor;
|
|
5417
5453
|
this.localization = localization;
|
|
5454
|
+
this.toolsService = toolsService;
|
|
5418
5455
|
}
|
|
5419
5456
|
clickHandler() {
|
|
5420
5457
|
this.editor.exec(this.command, this.editor.applyToWord);
|
|
@@ -5448,8 +5485,8 @@ class EditorCommandButton extends EditorCommandBase {
|
|
|
5448
5485
|
* ```
|
|
5449
5486
|
*/
|
|
5450
5487
|
let EditorAlignLeftButtonDirective = class EditorAlignLeftButtonDirective extends EditorCommandButton {
|
|
5451
|
-
constructor(button, editor, localization) {
|
|
5452
|
-
super('alignLeft', button, editor, localization);
|
|
5488
|
+
constructor(button, editor, localization, toolsService) {
|
|
5489
|
+
super('alignLeft', button, editor, localization, toolsService);
|
|
5453
5490
|
}
|
|
5454
5491
|
};
|
|
5455
5492
|
EditorAlignLeftButtonDirective = __decorate([
|
|
@@ -5459,7 +5496,8 @@ EditorAlignLeftButtonDirective = __decorate([
|
|
|
5459
5496
|
__param(1, Host()),
|
|
5460
5497
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5461
5498
|
EditorComponent,
|
|
5462
|
-
EditorLocalizationService
|
|
5499
|
+
EditorLocalizationService,
|
|
5500
|
+
EditorToolsService])
|
|
5463
5501
|
], EditorAlignLeftButtonDirective);
|
|
5464
5502
|
|
|
5465
5503
|
/**
|
|
@@ -5481,8 +5519,8 @@ EditorAlignLeftButtonDirective = __decorate([
|
|
|
5481
5519
|
* ```
|
|
5482
5520
|
*/
|
|
5483
5521
|
let EditorAlignCenterButtonDirective = class EditorAlignCenterButtonDirective extends EditorCommandButton {
|
|
5484
|
-
constructor(button, editor, localization) {
|
|
5485
|
-
super('alignCenter', button, editor, localization);
|
|
5522
|
+
constructor(button, editor, localization, toolsService) {
|
|
5523
|
+
super('alignCenter', button, editor, localization, toolsService);
|
|
5486
5524
|
}
|
|
5487
5525
|
};
|
|
5488
5526
|
EditorAlignCenterButtonDirective = __decorate([
|
|
@@ -5492,7 +5530,8 @@ EditorAlignCenterButtonDirective = __decorate([
|
|
|
5492
5530
|
__param(1, Host()),
|
|
5493
5531
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5494
5532
|
EditorComponent,
|
|
5495
|
-
EditorLocalizationService
|
|
5533
|
+
EditorLocalizationService,
|
|
5534
|
+
EditorToolsService])
|
|
5496
5535
|
], EditorAlignCenterButtonDirective);
|
|
5497
5536
|
|
|
5498
5537
|
/**
|
|
@@ -5514,8 +5553,8 @@ EditorAlignCenterButtonDirective = __decorate([
|
|
|
5514
5553
|
* ```
|
|
5515
5554
|
*/
|
|
5516
5555
|
let EditorAlignRightButtonDirective = class EditorAlignRightButtonDirective extends EditorCommandButton {
|
|
5517
|
-
constructor(button, editor, localization) {
|
|
5518
|
-
super('alignRight', button, editor, localization);
|
|
5556
|
+
constructor(button, editor, localization, toolsService) {
|
|
5557
|
+
super('alignRight', button, editor, localization, toolsService);
|
|
5519
5558
|
}
|
|
5520
5559
|
};
|
|
5521
5560
|
EditorAlignRightButtonDirective = __decorate([
|
|
@@ -5525,7 +5564,8 @@ EditorAlignRightButtonDirective = __decorate([
|
|
|
5525
5564
|
__param(1, Host()),
|
|
5526
5565
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5527
5566
|
EditorComponent,
|
|
5528
|
-
EditorLocalizationService
|
|
5567
|
+
EditorLocalizationService,
|
|
5568
|
+
EditorToolsService])
|
|
5529
5569
|
], EditorAlignRightButtonDirective);
|
|
5530
5570
|
|
|
5531
5571
|
/**
|
|
@@ -5547,8 +5587,8 @@ EditorAlignRightButtonDirective = __decorate([
|
|
|
5547
5587
|
* ```
|
|
5548
5588
|
*/
|
|
5549
5589
|
let EditorAlignJustifyButtonDirective = class EditorAlignJustifyButtonDirective extends EditorCommandButton {
|
|
5550
|
-
constructor(button, editor, localization) {
|
|
5551
|
-
super('alignJustify', button, editor, localization);
|
|
5590
|
+
constructor(button, editor, localization, toolsService) {
|
|
5591
|
+
super('alignJustify', button, editor, localization, toolsService);
|
|
5552
5592
|
}
|
|
5553
5593
|
};
|
|
5554
5594
|
EditorAlignJustifyButtonDirective = __decorate([
|
|
@@ -5558,7 +5598,8 @@ EditorAlignJustifyButtonDirective = __decorate([
|
|
|
5558
5598
|
__param(1, Host()),
|
|
5559
5599
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5560
5600
|
EditorComponent,
|
|
5561
|
-
EditorLocalizationService
|
|
5601
|
+
EditorLocalizationService,
|
|
5602
|
+
EditorToolsService])
|
|
5562
5603
|
], EditorAlignJustifyButtonDirective);
|
|
5563
5604
|
|
|
5564
5605
|
/**
|
|
@@ -5580,8 +5621,8 @@ EditorAlignJustifyButtonDirective = __decorate([
|
|
|
5580
5621
|
* ```
|
|
5581
5622
|
*/
|
|
5582
5623
|
let EditorRedoButtonDirective = class EditorRedoButtonDirective extends EditorCommandButton {
|
|
5583
|
-
constructor(button, editor, localization) {
|
|
5584
|
-
super('redo', button, editor, localization);
|
|
5624
|
+
constructor(button, editor, localization, toolsService) {
|
|
5625
|
+
super('redo', button, editor, localization, toolsService);
|
|
5585
5626
|
}
|
|
5586
5627
|
};
|
|
5587
5628
|
EditorRedoButtonDirective = __decorate([
|
|
@@ -5591,7 +5632,8 @@ EditorRedoButtonDirective = __decorate([
|
|
|
5591
5632
|
__param(1, Host()),
|
|
5592
5633
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5593
5634
|
EditorComponent,
|
|
5594
|
-
EditorLocalizationService
|
|
5635
|
+
EditorLocalizationService,
|
|
5636
|
+
EditorToolsService])
|
|
5595
5637
|
], EditorRedoButtonDirective);
|
|
5596
5638
|
|
|
5597
5639
|
/**
|
|
@@ -5613,8 +5655,8 @@ EditorRedoButtonDirective = __decorate([
|
|
|
5613
5655
|
* ```
|
|
5614
5656
|
*/
|
|
5615
5657
|
let EditorUndoButtonDirective = class EditorUndoButtonDirective extends EditorCommandButton {
|
|
5616
|
-
constructor(button, editor, localization) {
|
|
5617
|
-
super('undo', button, editor, localization);
|
|
5658
|
+
constructor(button, editor, localization, toolsService) {
|
|
5659
|
+
super('undo', button, editor, localization, toolsService);
|
|
5618
5660
|
}
|
|
5619
5661
|
};
|
|
5620
5662
|
EditorUndoButtonDirective = __decorate([
|
|
@@ -5624,19 +5666,21 @@ EditorUndoButtonDirective = __decorate([
|
|
|
5624
5666
|
__param(1, Host()),
|
|
5625
5667
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5626
5668
|
EditorComponent,
|
|
5627
|
-
EditorLocalizationService
|
|
5669
|
+
EditorLocalizationService,
|
|
5670
|
+
EditorToolsService])
|
|
5628
5671
|
], EditorUndoButtonDirective);
|
|
5629
5672
|
|
|
5630
5673
|
/**
|
|
5631
5674
|
* @hidden
|
|
5632
5675
|
*/
|
|
5633
5676
|
class EditorCommandDialog extends EditorCommandBase {
|
|
5634
|
-
constructor(dialog, button, editor, localization) {
|
|
5635
|
-
super(dialog, button, editor, localization);
|
|
5677
|
+
constructor(dialog, button, editor, localization, toolsService) {
|
|
5678
|
+
super(dialog, button, editor, localization, toolsService);
|
|
5636
5679
|
this.dialog = dialog;
|
|
5637
5680
|
this.button = button;
|
|
5638
5681
|
this.editor = editor;
|
|
5639
5682
|
this.localization = localization;
|
|
5683
|
+
this.toolsService = toolsService;
|
|
5640
5684
|
}
|
|
5641
5685
|
clickHandler() {
|
|
5642
5686
|
this.editor.openDialog(this.dialog);
|
|
@@ -5665,8 +5709,8 @@ class EditorCommandDialog extends EditorCommandBase {
|
|
|
5665
5709
|
* ```
|
|
5666
5710
|
*/
|
|
5667
5711
|
let EditorInsertImageButtonDirective = class EditorInsertImageButtonDirective extends EditorCommandDialog {
|
|
5668
|
-
constructor(button, editor, localization) {
|
|
5669
|
-
super('insertImage', button, editor, localization);
|
|
5712
|
+
constructor(button, editor, localization, toolsService) {
|
|
5713
|
+
super('insertImage', button, editor, localization, toolsService);
|
|
5670
5714
|
}
|
|
5671
5715
|
};
|
|
5672
5716
|
EditorInsertImageButtonDirective = __decorate([
|
|
@@ -5676,7 +5720,8 @@ EditorInsertImageButtonDirective = __decorate([
|
|
|
5676
5720
|
__param(1, Host()),
|
|
5677
5721
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5678
5722
|
EditorComponent,
|
|
5679
|
-
EditorLocalizationService
|
|
5723
|
+
EditorLocalizationService,
|
|
5724
|
+
EditorToolsService])
|
|
5680
5725
|
], EditorInsertImageButtonDirective);
|
|
5681
5726
|
|
|
5682
5727
|
/**
|
|
@@ -5698,8 +5743,8 @@ EditorInsertImageButtonDirective = __decorate([
|
|
|
5698
5743
|
* ```
|
|
5699
5744
|
*/
|
|
5700
5745
|
let EditorIndentButtonDirective = class EditorIndentButtonDirective extends EditorCommandButton {
|
|
5701
|
-
constructor(button, editor, localization) {
|
|
5702
|
-
super('indent', button, editor, localization);
|
|
5746
|
+
constructor(button, editor, localization, toolsService) {
|
|
5747
|
+
super('indent', button, editor, localization, toolsService);
|
|
5703
5748
|
}
|
|
5704
5749
|
};
|
|
5705
5750
|
EditorIndentButtonDirective = __decorate([
|
|
@@ -5709,7 +5754,8 @@ EditorIndentButtonDirective = __decorate([
|
|
|
5709
5754
|
__param(1, Host()),
|
|
5710
5755
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5711
5756
|
EditorComponent,
|
|
5712
|
-
EditorLocalizationService
|
|
5757
|
+
EditorLocalizationService,
|
|
5758
|
+
EditorToolsService])
|
|
5713
5759
|
], EditorIndentButtonDirective);
|
|
5714
5760
|
|
|
5715
5761
|
/**
|
|
@@ -5731,8 +5777,8 @@ EditorIndentButtonDirective = __decorate([
|
|
|
5731
5777
|
* ```
|
|
5732
5778
|
*/
|
|
5733
5779
|
let EditorOutdentButtonDirective = class EditorOutdentButtonDirective extends EditorCommandButton {
|
|
5734
|
-
constructor(button, editor, localization) {
|
|
5735
|
-
super('outdent', button, editor, localization);
|
|
5780
|
+
constructor(button, editor, localization, toolsService) {
|
|
5781
|
+
super('outdent', button, editor, localization, toolsService);
|
|
5736
5782
|
}
|
|
5737
5783
|
};
|
|
5738
5784
|
EditorOutdentButtonDirective = __decorate([
|
|
@@ -5742,7 +5788,8 @@ EditorOutdentButtonDirective = __decorate([
|
|
|
5742
5788
|
__param(1, Host()),
|
|
5743
5789
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5744
5790
|
EditorComponent,
|
|
5745
|
-
EditorLocalizationService
|
|
5791
|
+
EditorLocalizationService,
|
|
5792
|
+
EditorToolsService])
|
|
5746
5793
|
], EditorOutdentButtonDirective);
|
|
5747
5794
|
|
|
5748
5795
|
/**
|
|
@@ -5764,8 +5811,8 @@ EditorOutdentButtonDirective = __decorate([
|
|
|
5764
5811
|
* ```
|
|
5765
5812
|
*/
|
|
5766
5813
|
let EditorCreateLinkButtonDirective = class EditorCreateLinkButtonDirective extends EditorCommandDialog {
|
|
5767
|
-
constructor(button, editor, localization) {
|
|
5768
|
-
super('createLink', button, editor, localization);
|
|
5814
|
+
constructor(button, editor, localization, toolsService) {
|
|
5815
|
+
super('createLink', button, editor, localization, toolsService);
|
|
5769
5816
|
}
|
|
5770
5817
|
};
|
|
5771
5818
|
EditorCreateLinkButtonDirective = __decorate([
|
|
@@ -5775,7 +5822,8 @@ EditorCreateLinkButtonDirective = __decorate([
|
|
|
5775
5822
|
__param(1, Host()),
|
|
5776
5823
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5777
5824
|
EditorComponent,
|
|
5778
|
-
EditorLocalizationService
|
|
5825
|
+
EditorLocalizationService,
|
|
5826
|
+
EditorToolsService])
|
|
5779
5827
|
], EditorCreateLinkButtonDirective);
|
|
5780
5828
|
|
|
5781
5829
|
/**
|
|
@@ -5797,8 +5845,8 @@ EditorCreateLinkButtonDirective = __decorate([
|
|
|
5797
5845
|
* ```
|
|
5798
5846
|
*/
|
|
5799
5847
|
let EditorUnlinkButtonDirective = class EditorUnlinkButtonDirective extends EditorCommandButton {
|
|
5800
|
-
constructor(button, editor, localization) {
|
|
5801
|
-
super('unlink', button, editor, localization);
|
|
5848
|
+
constructor(button, editor, localization, toolsService) {
|
|
5849
|
+
super('unlink', button, editor, localization, toolsService);
|
|
5802
5850
|
}
|
|
5803
5851
|
};
|
|
5804
5852
|
EditorUnlinkButtonDirective = __decorate([
|
|
@@ -5808,7 +5856,8 @@ EditorUnlinkButtonDirective = __decorate([
|
|
|
5808
5856
|
__param(1, Host()),
|
|
5809
5857
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5810
5858
|
EditorComponent,
|
|
5811
|
-
EditorLocalizationService
|
|
5859
|
+
EditorLocalizationService,
|
|
5860
|
+
EditorToolsService])
|
|
5812
5861
|
], EditorUnlinkButtonDirective);
|
|
5813
5862
|
|
|
5814
5863
|
/**
|
|
@@ -5830,8 +5879,8 @@ EditorUnlinkButtonDirective = __decorate([
|
|
|
5830
5879
|
* ```
|
|
5831
5880
|
*/
|
|
5832
5881
|
let EditorInsertOrderedListButtonDirective = class EditorInsertOrderedListButtonDirective extends EditorCommandButton {
|
|
5833
|
-
constructor(button, editor, localization) {
|
|
5834
|
-
super('insertOrderedList', button, editor, localization);
|
|
5882
|
+
constructor(button, editor, localization, toolsService) {
|
|
5883
|
+
super('insertOrderedList', button, editor, localization, toolsService);
|
|
5835
5884
|
}
|
|
5836
5885
|
};
|
|
5837
5886
|
EditorInsertOrderedListButtonDirective = __decorate([
|
|
@@ -5841,7 +5890,8 @@ EditorInsertOrderedListButtonDirective = __decorate([
|
|
|
5841
5890
|
__param(1, Host()),
|
|
5842
5891
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5843
5892
|
EditorComponent,
|
|
5844
|
-
EditorLocalizationService
|
|
5893
|
+
EditorLocalizationService,
|
|
5894
|
+
EditorToolsService])
|
|
5845
5895
|
], EditorInsertOrderedListButtonDirective);
|
|
5846
5896
|
|
|
5847
5897
|
/**
|
|
@@ -5863,8 +5913,8 @@ EditorInsertOrderedListButtonDirective = __decorate([
|
|
|
5863
5913
|
* ```
|
|
5864
5914
|
*/
|
|
5865
5915
|
let EditorInsertUnorderedListButtonDirective = class EditorInsertUnorderedListButtonDirective extends EditorCommandButton {
|
|
5866
|
-
constructor(button, editor, localization) {
|
|
5867
|
-
super('insertUnorderedList', button, editor, localization);
|
|
5916
|
+
constructor(button, editor, localization, toolsService) {
|
|
5917
|
+
super('insertUnorderedList', button, editor, localization, toolsService);
|
|
5868
5918
|
}
|
|
5869
5919
|
};
|
|
5870
5920
|
EditorInsertUnorderedListButtonDirective = __decorate([
|
|
@@ -5874,7 +5924,8 @@ EditorInsertUnorderedListButtonDirective = __decorate([
|
|
|
5874
5924
|
__param(1, Host()),
|
|
5875
5925
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5876
5926
|
EditorComponent,
|
|
5877
|
-
EditorLocalizationService
|
|
5927
|
+
EditorLocalizationService,
|
|
5928
|
+
EditorToolsService])
|
|
5878
5929
|
], EditorInsertUnorderedListButtonDirective);
|
|
5879
5930
|
|
|
5880
5931
|
/**
|
|
@@ -5895,8 +5946,8 @@ EditorInsertUnorderedListButtonDirective = __decorate([
|
|
|
5895
5946
|
* ```
|
|
5896
5947
|
*/
|
|
5897
5948
|
let EditorViewSourceButtonDirective = class EditorViewSourceButtonDirective extends EditorCommandDialog {
|
|
5898
|
-
constructor(button, editor, localization) {
|
|
5899
|
-
super('viewSource', button, editor, localization);
|
|
5949
|
+
constructor(button, editor, localization, toolsService) {
|
|
5950
|
+
super('viewSource', button, editor, localization, toolsService);
|
|
5900
5951
|
}
|
|
5901
5952
|
};
|
|
5902
5953
|
EditorViewSourceButtonDirective = __decorate([
|
|
@@ -5906,7 +5957,8 @@ EditorViewSourceButtonDirective = __decorate([
|
|
|
5906
5957
|
__param(1, Host()),
|
|
5907
5958
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5908
5959
|
EditorComponent,
|
|
5909
|
-
EditorLocalizationService
|
|
5960
|
+
EditorLocalizationService,
|
|
5961
|
+
EditorToolsService])
|
|
5910
5962
|
], EditorViewSourceButtonDirective);
|
|
5911
5963
|
|
|
5912
5964
|
/**
|
|
@@ -5928,8 +5980,8 @@ EditorViewSourceButtonDirective = __decorate([
|
|
|
5928
5980
|
* ```
|
|
5929
5981
|
*/
|
|
5930
5982
|
let EditorBoldButtonDirective = class EditorBoldButtonDirective extends EditorCommandButton {
|
|
5931
|
-
constructor(button, editor, localization) {
|
|
5932
|
-
super('bold', button, editor, localization);
|
|
5983
|
+
constructor(button, editor, localization, toolsService) {
|
|
5984
|
+
super('bold', button, editor, localization, toolsService);
|
|
5933
5985
|
}
|
|
5934
5986
|
};
|
|
5935
5987
|
EditorBoldButtonDirective = __decorate([
|
|
@@ -5939,7 +5991,8 @@ EditorBoldButtonDirective = __decorate([
|
|
|
5939
5991
|
__param(1, Host()),
|
|
5940
5992
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5941
5993
|
EditorComponent,
|
|
5942
|
-
EditorLocalizationService
|
|
5994
|
+
EditorLocalizationService,
|
|
5995
|
+
EditorToolsService])
|
|
5943
5996
|
], EditorBoldButtonDirective);
|
|
5944
5997
|
|
|
5945
5998
|
/**
|
|
@@ -5961,8 +6014,8 @@ EditorBoldButtonDirective = __decorate([
|
|
|
5961
6014
|
* ```
|
|
5962
6015
|
*/
|
|
5963
6016
|
let EditorItalicButtonDirective = class EditorItalicButtonDirective extends EditorCommandButton {
|
|
5964
|
-
constructor(button, editor, localization) {
|
|
5965
|
-
super('italic', button, editor, localization);
|
|
6017
|
+
constructor(button, editor, localization, toolsService) {
|
|
6018
|
+
super('italic', button, editor, localization, toolsService);
|
|
5966
6019
|
}
|
|
5967
6020
|
};
|
|
5968
6021
|
EditorItalicButtonDirective = __decorate([
|
|
@@ -5972,7 +6025,8 @@ EditorItalicButtonDirective = __decorate([
|
|
|
5972
6025
|
__param(1, Host()),
|
|
5973
6026
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5974
6027
|
EditorComponent,
|
|
5975
|
-
EditorLocalizationService
|
|
6028
|
+
EditorLocalizationService,
|
|
6029
|
+
EditorToolsService])
|
|
5976
6030
|
], EditorItalicButtonDirective);
|
|
5977
6031
|
|
|
5978
6032
|
/**
|
|
@@ -5994,8 +6048,8 @@ EditorItalicButtonDirective = __decorate([
|
|
|
5994
6048
|
* ```
|
|
5995
6049
|
*/
|
|
5996
6050
|
let EditorUnderlineButtonDirective = class EditorUnderlineButtonDirective extends EditorCommandButton {
|
|
5997
|
-
constructor(button, editor, localization) {
|
|
5998
|
-
super('underline', button, editor, localization);
|
|
6051
|
+
constructor(button, editor, localization, toolsService) {
|
|
6052
|
+
super('underline', button, editor, localization, toolsService);
|
|
5999
6053
|
}
|
|
6000
6054
|
};
|
|
6001
6055
|
EditorUnderlineButtonDirective = __decorate([
|
|
@@ -6005,7 +6059,8 @@ EditorUnderlineButtonDirective = __decorate([
|
|
|
6005
6059
|
__param(1, Host()),
|
|
6006
6060
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6007
6061
|
EditorComponent,
|
|
6008
|
-
EditorLocalizationService
|
|
6062
|
+
EditorLocalizationService,
|
|
6063
|
+
EditorToolsService])
|
|
6009
6064
|
], EditorUnderlineButtonDirective);
|
|
6010
6065
|
|
|
6011
6066
|
/**
|
|
@@ -6027,8 +6082,8 @@ EditorUnderlineButtonDirective = __decorate([
|
|
|
6027
6082
|
* ```
|
|
6028
6083
|
*/
|
|
6029
6084
|
let EditorStrikethroughButtonDirective = class EditorStrikethroughButtonDirective extends EditorCommandButton {
|
|
6030
|
-
constructor(button, editor, localization) {
|
|
6031
|
-
super('strikethrough', button, editor, localization);
|
|
6085
|
+
constructor(button, editor, localization, toolsService) {
|
|
6086
|
+
super('strikethrough', button, editor, localization, toolsService);
|
|
6032
6087
|
}
|
|
6033
6088
|
};
|
|
6034
6089
|
EditorStrikethroughButtonDirective = __decorate([
|
|
@@ -6038,7 +6093,8 @@ EditorStrikethroughButtonDirective = __decorate([
|
|
|
6038
6093
|
__param(1, Host()),
|
|
6039
6094
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6040
6095
|
EditorComponent,
|
|
6041
|
-
EditorLocalizationService
|
|
6096
|
+
EditorLocalizationService,
|
|
6097
|
+
EditorToolsService])
|
|
6042
6098
|
], EditorStrikethroughButtonDirective);
|
|
6043
6099
|
|
|
6044
6100
|
/**
|
|
@@ -6060,8 +6116,8 @@ EditorStrikethroughButtonDirective = __decorate([
|
|
|
6060
6116
|
* ```
|
|
6061
6117
|
*/
|
|
6062
6118
|
let EditorSubscriptButtonDirective = class EditorSubscriptButtonDirective extends EditorCommandButton {
|
|
6063
|
-
constructor(button, editor, localization) {
|
|
6064
|
-
super('subscript', button, editor, localization);
|
|
6119
|
+
constructor(button, editor, localization, toolsService) {
|
|
6120
|
+
super('subscript', button, editor, localization, toolsService);
|
|
6065
6121
|
}
|
|
6066
6122
|
};
|
|
6067
6123
|
EditorSubscriptButtonDirective = __decorate([
|
|
@@ -6071,7 +6127,8 @@ EditorSubscriptButtonDirective = __decorate([
|
|
|
6071
6127
|
__param(1, Host()),
|
|
6072
6128
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6073
6129
|
EditorComponent,
|
|
6074
|
-
EditorLocalizationService
|
|
6130
|
+
EditorLocalizationService,
|
|
6131
|
+
EditorToolsService])
|
|
6075
6132
|
], EditorSubscriptButtonDirective);
|
|
6076
6133
|
|
|
6077
6134
|
/**
|
|
@@ -6093,8 +6150,8 @@ EditorSubscriptButtonDirective = __decorate([
|
|
|
6093
6150
|
* ```
|
|
6094
6151
|
*/
|
|
6095
6152
|
let EditorSuperscriptButtonDirective = class EditorSuperscriptButtonDirective extends EditorCommandButton {
|
|
6096
|
-
constructor(button, editor, localization) {
|
|
6097
|
-
super('superscript', button, editor, localization);
|
|
6153
|
+
constructor(button, editor, localization, toolsService) {
|
|
6154
|
+
super('superscript', button, editor, localization, toolsService);
|
|
6098
6155
|
}
|
|
6099
6156
|
};
|
|
6100
6157
|
EditorSuperscriptButtonDirective = __decorate([
|
|
@@ -6104,7 +6161,8 @@ EditorSuperscriptButtonDirective = __decorate([
|
|
|
6104
6161
|
__param(1, Host()),
|
|
6105
6162
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6106
6163
|
EditorComponent,
|
|
6107
|
-
EditorLocalizationService
|
|
6164
|
+
EditorLocalizationService,
|
|
6165
|
+
EditorToolsService])
|
|
6108
6166
|
], EditorSuperscriptButtonDirective);
|
|
6109
6167
|
|
|
6110
6168
|
/**
|
|
@@ -6118,8 +6176,8 @@ EditorSuperscriptButtonDirective = __decorate([
|
|
|
6118
6176
|
* ```
|
|
6119
6177
|
*/
|
|
6120
6178
|
let EditorInsertFileButtonDirective = class EditorInsertFileButtonDirective extends EditorCommandDialog {
|
|
6121
|
-
constructor(button, editor, localization) {
|
|
6122
|
-
super('insertFile', button, editor, localization);
|
|
6179
|
+
constructor(button, editor, localization, toolsService) {
|
|
6180
|
+
super('insertFile', button, editor, localization, toolsService);
|
|
6123
6181
|
}
|
|
6124
6182
|
};
|
|
6125
6183
|
EditorInsertFileButtonDirective = __decorate([
|
|
@@ -6129,7 +6187,8 @@ EditorInsertFileButtonDirective = __decorate([
|
|
|
6129
6187
|
__param(1, Host()),
|
|
6130
6188
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6131
6189
|
EditorComponent,
|
|
6132
|
-
EditorLocalizationService
|
|
6190
|
+
EditorLocalizationService,
|
|
6191
|
+
EditorToolsService])
|
|
6133
6192
|
], EditorInsertFileButtonDirective);
|
|
6134
6193
|
|
|
6135
6194
|
/**
|
|
@@ -6188,8 +6247,8 @@ EditorBackColorDirective = __decorate([
|
|
|
6188
6247
|
* ```
|
|
6189
6248
|
*/
|
|
6190
6249
|
let EditorCleanFormattingButtonDirective = class EditorCleanFormattingButtonDirective extends EditorCommandButton {
|
|
6191
|
-
constructor(button, editor, localization) {
|
|
6192
|
-
super('cleanFormatting', button, editor, localization);
|
|
6250
|
+
constructor(button, editor, localization, toolsService) {
|
|
6251
|
+
super('cleanFormatting', button, editor, localization, toolsService);
|
|
6193
6252
|
}
|
|
6194
6253
|
};
|
|
6195
6254
|
EditorCleanFormattingButtonDirective = __decorate([
|
|
@@ -6199,7 +6258,8 @@ EditorCleanFormattingButtonDirective = __decorate([
|
|
|
6199
6258
|
__param(1, Host()),
|
|
6200
6259
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6201
6260
|
EditorComponent,
|
|
6202
|
-
EditorLocalizationService
|
|
6261
|
+
EditorLocalizationService,
|
|
6262
|
+
EditorToolsService])
|
|
6203
6263
|
], EditorCleanFormattingButtonDirective);
|
|
6204
6264
|
|
|
6205
6265
|
/**
|
|
@@ -6214,8 +6274,8 @@ EditorCleanFormattingButtonDirective = __decorate([
|
|
|
6214
6274
|
* ```
|
|
6215
6275
|
*/
|
|
6216
6276
|
let EditorAddColumnBeforeButtonDirective = class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
|
|
6217
|
-
constructor(button, editor, localization) {
|
|
6218
|
-
super('addColumnBefore', button, editor, localization);
|
|
6277
|
+
constructor(button, editor, localization, toolsService) {
|
|
6278
|
+
super('addColumnBefore', button, editor, localization, toolsService);
|
|
6219
6279
|
}
|
|
6220
6280
|
};
|
|
6221
6281
|
EditorAddColumnBeforeButtonDirective = __decorate([
|
|
@@ -6225,7 +6285,8 @@ EditorAddColumnBeforeButtonDirective = __decorate([
|
|
|
6225
6285
|
__param(1, Host()),
|
|
6226
6286
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6227
6287
|
EditorComponent,
|
|
6228
|
-
EditorLocalizationService
|
|
6288
|
+
EditorLocalizationService,
|
|
6289
|
+
EditorToolsService])
|
|
6229
6290
|
], EditorAddColumnBeforeButtonDirective);
|
|
6230
6291
|
|
|
6231
6292
|
/**
|
|
@@ -6240,8 +6301,8 @@ EditorAddColumnBeforeButtonDirective = __decorate([
|
|
|
6240
6301
|
* ```
|
|
6241
6302
|
*/
|
|
6242
6303
|
let EditorAddColumnAfterButtonDirective = class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
|
|
6243
|
-
constructor(button, editor, localization) {
|
|
6244
|
-
super('addColumnAfter', button, editor, localization);
|
|
6304
|
+
constructor(button, editor, localization, toolsService) {
|
|
6305
|
+
super('addColumnAfter', button, editor, localization, toolsService);
|
|
6245
6306
|
}
|
|
6246
6307
|
};
|
|
6247
6308
|
EditorAddColumnAfterButtonDirective = __decorate([
|
|
@@ -6251,7 +6312,8 @@ EditorAddColumnAfterButtonDirective = __decorate([
|
|
|
6251
6312
|
__param(1, Host()),
|
|
6252
6313
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6253
6314
|
EditorComponent,
|
|
6254
|
-
EditorLocalizationService
|
|
6315
|
+
EditorLocalizationService,
|
|
6316
|
+
EditorToolsService])
|
|
6255
6317
|
], EditorAddColumnAfterButtonDirective);
|
|
6256
6318
|
|
|
6257
6319
|
/**
|
|
@@ -6266,8 +6328,8 @@ EditorAddColumnAfterButtonDirective = __decorate([
|
|
|
6266
6328
|
* ```
|
|
6267
6329
|
*/
|
|
6268
6330
|
let EditorAddRowBeforeButtonDirective = class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
|
|
6269
|
-
constructor(button, editor, localization) {
|
|
6270
|
-
super('addRowBefore', button, editor, localization);
|
|
6331
|
+
constructor(button, editor, localization, toolsService) {
|
|
6332
|
+
super('addRowBefore', button, editor, localization, toolsService);
|
|
6271
6333
|
}
|
|
6272
6334
|
};
|
|
6273
6335
|
EditorAddRowBeforeButtonDirective = __decorate([
|
|
@@ -6277,7 +6339,8 @@ EditorAddRowBeforeButtonDirective = __decorate([
|
|
|
6277
6339
|
__param(1, Host()),
|
|
6278
6340
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6279
6341
|
EditorComponent,
|
|
6280
|
-
EditorLocalizationService
|
|
6342
|
+
EditorLocalizationService,
|
|
6343
|
+
EditorToolsService])
|
|
6281
6344
|
], EditorAddRowBeforeButtonDirective);
|
|
6282
6345
|
|
|
6283
6346
|
/**
|
|
@@ -6292,8 +6355,8 @@ EditorAddRowBeforeButtonDirective = __decorate([
|
|
|
6292
6355
|
* ```
|
|
6293
6356
|
*/
|
|
6294
6357
|
let EditorAddRowAfterButtonDirective = class EditorAddRowAfterButtonDirective extends EditorCommandButton {
|
|
6295
|
-
constructor(button, editor, localization) {
|
|
6296
|
-
super('addRowAfter', button, editor, localization);
|
|
6358
|
+
constructor(button, editor, localization, toolsService) {
|
|
6359
|
+
super('addRowAfter', button, editor, localization, toolsService);
|
|
6297
6360
|
}
|
|
6298
6361
|
};
|
|
6299
6362
|
EditorAddRowAfterButtonDirective = __decorate([
|
|
@@ -6303,7 +6366,8 @@ EditorAddRowAfterButtonDirective = __decorate([
|
|
|
6303
6366
|
__param(1, Host()),
|
|
6304
6367
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6305
6368
|
EditorComponent,
|
|
6306
|
-
EditorLocalizationService
|
|
6369
|
+
EditorLocalizationService,
|
|
6370
|
+
EditorToolsService])
|
|
6307
6371
|
], EditorAddRowAfterButtonDirective);
|
|
6308
6372
|
|
|
6309
6373
|
/**
|
|
@@ -6318,8 +6382,8 @@ EditorAddRowAfterButtonDirective = __decorate([
|
|
|
6318
6382
|
* ```
|
|
6319
6383
|
*/
|
|
6320
6384
|
let EditorDeleteColumnButtonDirective = class EditorDeleteColumnButtonDirective extends EditorCommandButton {
|
|
6321
|
-
constructor(button, editor, localization) {
|
|
6322
|
-
super('deleteColumn', button, editor, localization);
|
|
6385
|
+
constructor(button, editor, localization, toolsService) {
|
|
6386
|
+
super('deleteColumn', button, editor, localization, toolsService);
|
|
6323
6387
|
}
|
|
6324
6388
|
};
|
|
6325
6389
|
EditorDeleteColumnButtonDirective = __decorate([
|
|
@@ -6329,7 +6393,8 @@ EditorDeleteColumnButtonDirective = __decorate([
|
|
|
6329
6393
|
__param(1, Host()),
|
|
6330
6394
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6331
6395
|
EditorComponent,
|
|
6332
|
-
EditorLocalizationService
|
|
6396
|
+
EditorLocalizationService,
|
|
6397
|
+
EditorToolsService])
|
|
6333
6398
|
], EditorDeleteColumnButtonDirective);
|
|
6334
6399
|
|
|
6335
6400
|
/**
|
|
@@ -6344,8 +6409,8 @@ EditorDeleteColumnButtonDirective = __decorate([
|
|
|
6344
6409
|
* ```
|
|
6345
6410
|
*/
|
|
6346
6411
|
let EditorDeleteRowButtonDirective = class EditorDeleteRowButtonDirective extends EditorCommandButton {
|
|
6347
|
-
constructor(button, editor, localization) {
|
|
6348
|
-
super('deleteRow', button, editor, localization);
|
|
6412
|
+
constructor(button, editor, localization, toolsService) {
|
|
6413
|
+
super('deleteRow', button, editor, localization, toolsService);
|
|
6349
6414
|
}
|
|
6350
6415
|
};
|
|
6351
6416
|
EditorDeleteRowButtonDirective = __decorate([
|
|
@@ -6355,7 +6420,8 @@ EditorDeleteRowButtonDirective = __decorate([
|
|
|
6355
6420
|
__param(1, Host()),
|
|
6356
6421
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6357
6422
|
EditorComponent,
|
|
6358
|
-
EditorLocalizationService
|
|
6423
|
+
EditorLocalizationService,
|
|
6424
|
+
EditorToolsService])
|
|
6359
6425
|
], EditorDeleteRowButtonDirective);
|
|
6360
6426
|
|
|
6361
6427
|
/**
|
|
@@ -6370,8 +6436,8 @@ EditorDeleteRowButtonDirective = __decorate([
|
|
|
6370
6436
|
* ```
|
|
6371
6437
|
*/
|
|
6372
6438
|
let EditorDeleteTableButtonDirective = class EditorDeleteTableButtonDirective extends EditorCommandButton {
|
|
6373
|
-
constructor(button, editor, localization) {
|
|
6374
|
-
super('deleteTable', button, editor, localization);
|
|
6439
|
+
constructor(button, editor, localization, toolsService) {
|
|
6440
|
+
super('deleteTable', button, editor, localization, toolsService);
|
|
6375
6441
|
}
|
|
6376
6442
|
};
|
|
6377
6443
|
EditorDeleteTableButtonDirective = __decorate([
|
|
@@ -6381,7 +6447,8 @@ EditorDeleteTableButtonDirective = __decorate([
|
|
|
6381
6447
|
__param(1, Host()),
|
|
6382
6448
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6383
6449
|
EditorComponent,
|
|
6384
|
-
EditorLocalizationService
|
|
6450
|
+
EditorLocalizationService,
|
|
6451
|
+
EditorToolsService])
|
|
6385
6452
|
], EditorDeleteTableButtonDirective);
|
|
6386
6453
|
|
|
6387
6454
|
/**
|
|
@@ -6398,8 +6465,8 @@ EditorDeleteTableButtonDirective = __decorate([
|
|
|
6398
6465
|
* ```
|
|
6399
6466
|
*/
|
|
6400
6467
|
let EditorMergeCellsButtonDirective = class EditorMergeCellsButtonDirective extends EditorCommandButton {
|
|
6401
|
-
constructor(button, editor, localization) {
|
|
6402
|
-
super('mergeCells', button, editor, localization);
|
|
6468
|
+
constructor(button, editor, localization, toolsService) {
|
|
6469
|
+
super('mergeCells', button, editor, localization, toolsService);
|
|
6403
6470
|
}
|
|
6404
6471
|
};
|
|
6405
6472
|
EditorMergeCellsButtonDirective = __decorate([
|
|
@@ -6409,7 +6476,8 @@ EditorMergeCellsButtonDirective = __decorate([
|
|
|
6409
6476
|
__param(1, Host()),
|
|
6410
6477
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6411
6478
|
EditorComponent,
|
|
6412
|
-
EditorLocalizationService
|
|
6479
|
+
EditorLocalizationService,
|
|
6480
|
+
EditorToolsService])
|
|
6413
6481
|
], EditorMergeCellsButtonDirective);
|
|
6414
6482
|
|
|
6415
6483
|
/**
|
|
@@ -6426,8 +6494,8 @@ EditorMergeCellsButtonDirective = __decorate([
|
|
|
6426
6494
|
* ```
|
|
6427
6495
|
*/
|
|
6428
6496
|
let EditorSplitCellButtonDirective = class EditorSplitCellButtonDirective extends EditorCommandButton {
|
|
6429
|
-
constructor(button, editor, localization) {
|
|
6430
|
-
super('splitCell', button, editor, localization);
|
|
6497
|
+
constructor(button, editor, localization, toolsService) {
|
|
6498
|
+
super('splitCell', button, editor, localization, toolsService);
|
|
6431
6499
|
}
|
|
6432
6500
|
};
|
|
6433
6501
|
EditorSplitCellButtonDirective = __decorate([
|
|
@@ -6437,7 +6505,8 @@ EditorSplitCellButtonDirective = __decorate([
|
|
|
6437
6505
|
__param(1, Host()),
|
|
6438
6506
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6439
6507
|
EditorComponent,
|
|
6440
|
-
EditorLocalizationService
|
|
6508
|
+
EditorLocalizationService,
|
|
6509
|
+
EditorToolsService])
|
|
6441
6510
|
], EditorSplitCellButtonDirective);
|
|
6442
6511
|
|
|
6443
6512
|
/**
|
|
@@ -6753,8 +6822,8 @@ DropDownToolDirective = __decorate([
|
|
|
6753
6822
|
* ```
|
|
6754
6823
|
*/
|
|
6755
6824
|
let EditorPrintDirective = class EditorPrintDirective extends EditorCommandButton {
|
|
6756
|
-
constructor(button, editor, localization) {
|
|
6757
|
-
super('print', button, editor, localization);
|
|
6825
|
+
constructor(button, editor, localization, toolsService) {
|
|
6826
|
+
super('print', button, editor, localization, toolsService);
|
|
6758
6827
|
this.editor = editor;
|
|
6759
6828
|
}
|
|
6760
6829
|
ngAfterViewInit() {
|
|
@@ -6783,7 +6852,8 @@ EditorPrintDirective = __decorate([
|
|
|
6783
6852
|
__param(1, Host()),
|
|
6784
6853
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6785
6854
|
EditorComponent,
|
|
6786
|
-
EditorLocalizationService
|
|
6855
|
+
EditorLocalizationService,
|
|
6856
|
+
EditorToolsService])
|
|
6787
6857
|
], EditorPrintDirective);
|
|
6788
6858
|
|
|
6789
6859
|
/**
|
|
@@ -6804,8 +6874,8 @@ EditorPrintDirective = __decorate([
|
|
|
6804
6874
|
* ```
|
|
6805
6875
|
*/
|
|
6806
6876
|
let EditorSelectAllButtonDirective = class EditorSelectAllButtonDirective extends EditorCommandButton {
|
|
6807
|
-
constructor(button, editor, localization) {
|
|
6808
|
-
super('selectAll', button, editor, localization);
|
|
6877
|
+
constructor(button, editor, localization, toolsService) {
|
|
6878
|
+
super('selectAll', button, editor, localization, toolsService);
|
|
6809
6879
|
}
|
|
6810
6880
|
clickHandler() {
|
|
6811
6881
|
this.editor.shouldEmitFocus = true;
|
|
@@ -6819,7 +6889,8 @@ EditorSelectAllButtonDirective = __decorate([
|
|
|
6819
6889
|
__param(1, Host()),
|
|
6820
6890
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6821
6891
|
EditorComponent,
|
|
6822
|
-
EditorLocalizationService
|
|
6892
|
+
EditorLocalizationService,
|
|
6893
|
+
EditorToolsService])
|
|
6823
6894
|
], EditorSelectAllButtonDirective);
|
|
6824
6895
|
|
|
6825
6896
|
const COMPONENT_DIRECTIVES = [
|
|
@@ -6991,4 +7062,4 @@ EditorModule = __decorate([
|
|
|
6991
7062
|
* Generated bundle index. Do not edit.
|
|
6992
7063
|
*/
|
|
6993
7064
|
|
|
6994
|
-
export { ColorPickerDialogComponent, FileLinkDialogComponent, FontFamilyDialogComponent, FontSizeDialogComponent, FormatDialogComponent, ImageDialogComponent, InsertTableDialogComponent, SourceDialogComponent, CustomMessagesComponent, EditorLocalizationService, LocalizedMessagesDirective, Messages, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBackColorDirective, EditorColorPickerComponent, EditorForeColorDirective, EditorCleanFormattingButtonDirective, FontFamilyDropDownListComponent, EditorFontFamilyComponent, FontSizeDropDownListComponent, EditorFontSizeComponent, FormatDropDownListComponent, EditorFormatComponent, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorInsertFileButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorPrintDirective, EditorSelectAllButtonDirective, DropDownToolDirective, EditorCommandBase, EditorCommandButton, EditorCommandDialog, EditorViewSourceButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, PopupTableGridComponent, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorComponent, EditorModule, schema };
|
|
7065
|
+
export { ColorPickerDialogComponent, FileLinkDialogComponent, FontFamilyDialogComponent, FontSizeDialogComponent, FormatDialogComponent, ImageDialogComponent, InsertTableDialogComponent, SourceDialogComponent, CustomMessagesComponent, EditorLocalizationService, LocalizedMessagesDirective, Messages, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBackColorDirective, EditorColorPickerComponent, EditorForeColorDirective, EditorCleanFormattingButtonDirective, FontFamilyDropDownListComponent, EditorFontFamilyComponent, FontSizeDropDownListComponent, EditorFontSizeComponent, FormatDropDownListComponent, EditorFormatComponent, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorInsertFileButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorPrintDirective, EditorSelectAllButtonDirective, DropDownToolDirective, EditorCommandBase, EditorCommandButton, EditorCommandDialog, EditorViewSourceButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, PopupTableGridComponent, EditorToolsService, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorComponent, EditorModule, schema };
|