@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/fesm5/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 { __assign, __extends, __decorate, __param, __metadata } from 'tslib';
|
|
6
|
-
import { Inject, Optional, Input, ViewChild, ElementRef, Component, isDevMode, Output, EventEmitter, HostBinding, ContentChild, ViewContainerRef, forwardRef, ChangeDetectorRef, NgZone, TemplateRef, Host, Directive, NgModule } from '@angular/core';
|
|
6
|
+
import { Inject, Optional, Input, ViewChild, ElementRef, Component, Injectable, isDevMode, Output, EventEmitter, 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 { fromEvent, merge, BehaviorSubject,
|
|
8
|
+
import { Subject, fromEvent, merge, BehaviorSubject, zip, 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 { DialogRef, DialogContentBase, DialogService, DialogModule } from '@progress/kendo-angular-dialog';
|
|
@@ -27,7 +27,7 @@ var 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
|
};
|
|
@@ -2287,6 +2287,19 @@ var EditorErrorMessages = {
|
|
|
2287
2287
|
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/'
|
|
2288
2288
|
};
|
|
2289
2289
|
|
|
2290
|
+
/**
|
|
2291
|
+
* @hidden
|
|
2292
|
+
*/
|
|
2293
|
+
var EditorToolsService = /** @class */ (function () {
|
|
2294
|
+
function EditorToolsService() {
|
|
2295
|
+
this.needsCheck = new Subject();
|
|
2296
|
+
}
|
|
2297
|
+
EditorToolsService = __decorate([
|
|
2298
|
+
Injectable()
|
|
2299
|
+
], EditorToolsService);
|
|
2300
|
+
return EditorToolsService;
|
|
2301
|
+
}());
|
|
2302
|
+
|
|
2290
2303
|
var EMPTY_PARAGRAPH = '<p></p>';
|
|
2291
2304
|
var defaultPasteCleanupSettings = {
|
|
2292
2305
|
convertMsLists: false,
|
|
@@ -2316,13 +2329,14 @@ var getPasteCleanupAttributes = function (config) {
|
|
|
2316
2329
|
* Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
|
|
2317
2330
|
*/
|
|
2318
2331
|
var EditorComponent = /** @class */ (function () {
|
|
2319
|
-
function EditorComponent(dialogService, localization, cdr, ngZone, element) {
|
|
2332
|
+
function EditorComponent(dialogService, localization, cdr, ngZone, element, toolsService) {
|
|
2320
2333
|
var _this = this;
|
|
2321
2334
|
this.dialogService = dialogService;
|
|
2322
2335
|
this.localization = localization;
|
|
2323
2336
|
this.cdr = cdr;
|
|
2324
2337
|
this.ngZone = ngZone;
|
|
2325
2338
|
this.element = element;
|
|
2339
|
+
this.toolsService = toolsService;
|
|
2326
2340
|
/**
|
|
2327
2341
|
* If set to `false`, the Editor will run in style non-encapsulated mode. This means
|
|
2328
2342
|
* that the styles of the page will be persisted in the Editor and its content will be affected by them.
|
|
@@ -2670,6 +2684,7 @@ var EditorComponent = /** @class */ (function () {
|
|
|
2670
2684
|
var rtl = _a.rtl;
|
|
2671
2685
|
_this.direction = rtl ? 'rtl' : 'ltr';
|
|
2672
2686
|
}));
|
|
2687
|
+
this.subs.add(this.toolsService.needsCheck.subscribe(function () { return _this.cdr.markForCheck(); }));
|
|
2673
2688
|
};
|
|
2674
2689
|
EditorComponent.prototype.ngAfterViewInit = function () {
|
|
2675
2690
|
this.afterViewInit.next();
|
|
@@ -3222,6 +3237,7 @@ var EditorComponent = /** @class */ (function () {
|
|
|
3222
3237
|
selector: 'kendo-editor',
|
|
3223
3238
|
providers: [
|
|
3224
3239
|
EditorLocalizationService,
|
|
3240
|
+
EditorToolsService,
|
|
3225
3241
|
{
|
|
3226
3242
|
provide: LocalizationService,
|
|
3227
3243
|
useExisting: EditorLocalizationService
|
|
@@ -3250,7 +3266,8 @@ var EditorComponent = /** @class */ (function () {
|
|
|
3250
3266
|
LocalizationService,
|
|
3251
3267
|
ChangeDetectorRef,
|
|
3252
3268
|
NgZone,
|
|
3253
|
-
ElementRef
|
|
3269
|
+
ElementRef,
|
|
3270
|
+
EditorToolsService])
|
|
3254
3271
|
], EditorComponent);
|
|
3255
3272
|
return EditorComponent;
|
|
3256
3273
|
}());
|
|
@@ -3603,11 +3620,12 @@ var InsertTableDialogComponent = /** @class */ (function (_super) {
|
|
|
3603
3620
|
*/
|
|
3604
3621
|
var EditorFormatComponent = /** @class */ (function (_super) {
|
|
3605
3622
|
__extends(EditorFormatComponent, _super);
|
|
3606
|
-
function EditorFormatComponent(editor, dialogService, localization) {
|
|
3623
|
+
function EditorFormatComponent(editor, dialogService, localization, toolsService) {
|
|
3607
3624
|
var _this = _super.call(this) || this;
|
|
3608
3625
|
_this.editor = editor;
|
|
3609
3626
|
_this.dialogService = dialogService;
|
|
3610
3627
|
_this.localization = localization;
|
|
3628
|
+
_this.toolsService = toolsService;
|
|
3611
3629
|
_this.disabled = false;
|
|
3612
3630
|
_this.tabindex = -1;
|
|
3613
3631
|
/**
|
|
@@ -3650,7 +3668,10 @@ var EditorFormatComponent = /** @class */ (function (_super) {
|
|
|
3650
3668
|
return itemArgs.dataItem.tag === null;
|
|
3651
3669
|
}
|
|
3652
3670
|
};
|
|
3653
|
-
setTimeout(function () {
|
|
3671
|
+
setTimeout(function () {
|
|
3672
|
+
_this.defaultItem = { text: _this.title, tag: null };
|
|
3673
|
+
_this.toolsService.needsCheck.next();
|
|
3674
|
+
});
|
|
3654
3675
|
this.subs = this.editor.stateChange.subscribe(function (_a) {
|
|
3655
3676
|
var format = _a.format;
|
|
3656
3677
|
var index = _this.data.findIndex(function (item) { return item.tag === format.selected.tag; });
|
|
@@ -3769,7 +3790,8 @@ var EditorFormatComponent = /** @class */ (function (_super) {
|
|
|
3769
3790
|
__param(0, Host()),
|
|
3770
3791
|
__metadata("design:paramtypes", [EditorComponent,
|
|
3771
3792
|
DialogService,
|
|
3772
|
-
EditorLocalizationService
|
|
3793
|
+
EditorLocalizationService,
|
|
3794
|
+
EditorToolsService])
|
|
3773
3795
|
], EditorFormatComponent);
|
|
3774
3796
|
return EditorFormatComponent;
|
|
3775
3797
|
}(ToolBarToolComponent));
|
|
@@ -3905,11 +3927,12 @@ var FontSizeDialogComponent = /** @class */ (function (_super) {
|
|
|
3905
3927
|
*/
|
|
3906
3928
|
var EditorFontSizeComponent = /** @class */ (function (_super) {
|
|
3907
3929
|
__extends(EditorFontSizeComponent, _super);
|
|
3908
|
-
function EditorFontSizeComponent(editor, dialogService, localization) {
|
|
3930
|
+
function EditorFontSizeComponent(editor, dialogService, localization, toolsService) {
|
|
3909
3931
|
var _this = _super.call(this) || this;
|
|
3910
3932
|
_this.editor = editor;
|
|
3911
3933
|
_this.dialogService = dialogService;
|
|
3912
3934
|
_this.localization = localization;
|
|
3935
|
+
_this.toolsService = toolsService;
|
|
3913
3936
|
_this.disabled = false;
|
|
3914
3937
|
_this.tabindex = -1;
|
|
3915
3938
|
/**
|
|
@@ -3951,7 +3974,10 @@ var EditorFontSizeComponent = /** @class */ (function (_super) {
|
|
|
3951
3974
|
return itemArgs.dataItem.size === null;
|
|
3952
3975
|
}
|
|
3953
3976
|
};
|
|
3954
|
-
setTimeout(function () {
|
|
3977
|
+
setTimeout(function () {
|
|
3978
|
+
_this.defaultItem = { text: _this.title, size: null };
|
|
3979
|
+
_this.toolsService.needsCheck.next();
|
|
3980
|
+
});
|
|
3955
3981
|
this.subs = this.editor.stateChange.subscribe(function (_a) {
|
|
3956
3982
|
// remove units(px, em, rem...)
|
|
3957
3983
|
// string#match returns array
|
|
@@ -4074,7 +4100,8 @@ var EditorFontSizeComponent = /** @class */ (function (_super) {
|
|
|
4074
4100
|
__param(0, Host()),
|
|
4075
4101
|
__metadata("design:paramtypes", [EditorComponent,
|
|
4076
4102
|
DialogService,
|
|
4077
|
-
EditorLocalizationService
|
|
4103
|
+
EditorLocalizationService,
|
|
4104
|
+
EditorToolsService])
|
|
4078
4105
|
], EditorFontSizeComponent);
|
|
4079
4106
|
return EditorFontSizeComponent;
|
|
4080
4107
|
}(ToolBarToolComponent));
|
|
@@ -4092,11 +4119,12 @@ var EditorFontSizeComponent = /** @class */ (function (_super) {
|
|
|
4092
4119
|
*/
|
|
4093
4120
|
var EditorFontFamilyComponent = /** @class */ (function (_super) {
|
|
4094
4121
|
__extends(EditorFontFamilyComponent, _super);
|
|
4095
|
-
function EditorFontFamilyComponent(editor, dialogService, localization) {
|
|
4122
|
+
function EditorFontFamilyComponent(editor, dialogService, localization, toolsService) {
|
|
4096
4123
|
var _this = _super.call(this) || this;
|
|
4097
4124
|
_this.editor = editor;
|
|
4098
4125
|
_this.dialogService = dialogService;
|
|
4099
4126
|
_this.localization = localization;
|
|
4127
|
+
_this.toolsService = toolsService;
|
|
4100
4128
|
_this.disabled = false;
|
|
4101
4129
|
_this.tabindex = -1;
|
|
4102
4130
|
/**
|
|
@@ -4145,7 +4173,10 @@ var EditorFontFamilyComponent = /** @class */ (function (_super) {
|
|
|
4145
4173
|
return itemArgs.dataItem.fontName === null;
|
|
4146
4174
|
}
|
|
4147
4175
|
};
|
|
4148
|
-
setTimeout(function () {
|
|
4176
|
+
setTimeout(function () {
|
|
4177
|
+
_this.defaultItem = { text: _this.title, fontName: null };
|
|
4178
|
+
_this.toolsService.needsCheck.next();
|
|
4179
|
+
});
|
|
4149
4180
|
this.subs = this.editor.stateChange.subscribe(function (_a) {
|
|
4150
4181
|
var style = _a.style;
|
|
4151
4182
|
_this.value = getUniqueStyleValues(style.selected, 'font-family') || null;
|
|
@@ -4266,7 +4297,8 @@ var EditorFontFamilyComponent = /** @class */ (function (_super) {
|
|
|
4266
4297
|
__param(0, Host()),
|
|
4267
4298
|
__metadata("design:paramtypes", [EditorComponent,
|
|
4268
4299
|
DialogService,
|
|
4269
|
-
EditorLocalizationService
|
|
4300
|
+
EditorLocalizationService,
|
|
4301
|
+
EditorToolsService])
|
|
4270
4302
|
], EditorFontFamilyComponent);
|
|
4271
4303
|
return EditorFontFamilyComponent;
|
|
4272
4304
|
}(ToolBarToolComponent));
|
|
@@ -4765,12 +4797,13 @@ var commandIcons = {
|
|
|
4765
4797
|
* @hidden
|
|
4766
4798
|
*/
|
|
4767
4799
|
var EditorCommandBase = /** @class */ (function () {
|
|
4768
|
-
function EditorCommandBase(command, button, editor, localization) {
|
|
4800
|
+
function EditorCommandBase(command, button, editor, localization, toolsService) {
|
|
4769
4801
|
var _this = this;
|
|
4770
4802
|
this.command = command;
|
|
4771
4803
|
this.button = button;
|
|
4772
4804
|
this.editor = editor;
|
|
4773
4805
|
this.localization = localization;
|
|
4806
|
+
this.toolsService = toolsService;
|
|
4774
4807
|
setTimeout(function () {
|
|
4775
4808
|
var text = _this.localization.get(_this.command);
|
|
4776
4809
|
if (text) {
|
|
@@ -4782,6 +4815,7 @@ var EditorCommandBase = /** @class */ (function () {
|
|
|
4782
4815
|
_this.button.icon = commandIcons[_this.command];
|
|
4783
4816
|
}
|
|
4784
4817
|
_this.button.title = text;
|
|
4818
|
+
_this.toolsService.needsCheck.next();
|
|
4785
4819
|
});
|
|
4786
4820
|
}
|
|
4787
4821
|
EditorCommandBase.prototype.ngOnInit = function () {
|
|
@@ -4808,12 +4842,13 @@ var EditorCommandBase = /** @class */ (function () {
|
|
|
4808
4842
|
*/
|
|
4809
4843
|
var EditorCommandButton = /** @class */ (function (_super) {
|
|
4810
4844
|
__extends(EditorCommandButton, _super);
|
|
4811
|
-
function EditorCommandButton(command, button, editor, localization) {
|
|
4812
|
-
var _this = _super.call(this, command, button, editor, localization) || this;
|
|
4845
|
+
function EditorCommandButton(command, button, editor, localization, toolsService) {
|
|
4846
|
+
var _this = _super.call(this, command, button, editor, localization, toolsService) || this;
|
|
4813
4847
|
_this.command = command;
|
|
4814
4848
|
_this.button = button;
|
|
4815
4849
|
_this.editor = editor;
|
|
4816
4850
|
_this.localization = localization;
|
|
4851
|
+
_this.toolsService = toolsService;
|
|
4817
4852
|
return _this;
|
|
4818
4853
|
}
|
|
4819
4854
|
EditorCommandButton.prototype.clickHandler = function () {
|
|
@@ -4850,8 +4885,8 @@ var EditorCommandButton = /** @class */ (function (_super) {
|
|
|
4850
4885
|
*/
|
|
4851
4886
|
var EditorAlignLeftButtonDirective = /** @class */ (function (_super) {
|
|
4852
4887
|
__extends(EditorAlignLeftButtonDirective, _super);
|
|
4853
|
-
function EditorAlignLeftButtonDirective(button, editor, localization) {
|
|
4854
|
-
return _super.call(this, 'alignLeft', button, editor, localization) || this;
|
|
4888
|
+
function EditorAlignLeftButtonDirective(button, editor, localization, toolsService) {
|
|
4889
|
+
return _super.call(this, 'alignLeft', button, editor, localization, toolsService) || this;
|
|
4855
4890
|
}
|
|
4856
4891
|
EditorAlignLeftButtonDirective = __decorate([
|
|
4857
4892
|
Directive({
|
|
@@ -4860,7 +4895,8 @@ var EditorAlignLeftButtonDirective = /** @class */ (function (_super) {
|
|
|
4860
4895
|
__param(1, Host()),
|
|
4861
4896
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4862
4897
|
EditorComponent,
|
|
4863
|
-
EditorLocalizationService
|
|
4898
|
+
EditorLocalizationService,
|
|
4899
|
+
EditorToolsService])
|
|
4864
4900
|
], EditorAlignLeftButtonDirective);
|
|
4865
4901
|
return EditorAlignLeftButtonDirective;
|
|
4866
4902
|
}(EditorCommandButton));
|
|
@@ -4885,8 +4921,8 @@ var EditorAlignLeftButtonDirective = /** @class */ (function (_super) {
|
|
|
4885
4921
|
*/
|
|
4886
4922
|
var EditorAlignCenterButtonDirective = /** @class */ (function (_super) {
|
|
4887
4923
|
__extends(EditorAlignCenterButtonDirective, _super);
|
|
4888
|
-
function EditorAlignCenterButtonDirective(button, editor, localization) {
|
|
4889
|
-
return _super.call(this, 'alignCenter', button, editor, localization) || this;
|
|
4924
|
+
function EditorAlignCenterButtonDirective(button, editor, localization, toolsService) {
|
|
4925
|
+
return _super.call(this, 'alignCenter', button, editor, localization, toolsService) || this;
|
|
4890
4926
|
}
|
|
4891
4927
|
EditorAlignCenterButtonDirective = __decorate([
|
|
4892
4928
|
Directive({
|
|
@@ -4895,7 +4931,8 @@ var EditorAlignCenterButtonDirective = /** @class */ (function (_super) {
|
|
|
4895
4931
|
__param(1, Host()),
|
|
4896
4932
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4897
4933
|
EditorComponent,
|
|
4898
|
-
EditorLocalizationService
|
|
4934
|
+
EditorLocalizationService,
|
|
4935
|
+
EditorToolsService])
|
|
4899
4936
|
], EditorAlignCenterButtonDirective);
|
|
4900
4937
|
return EditorAlignCenterButtonDirective;
|
|
4901
4938
|
}(EditorCommandButton));
|
|
@@ -4920,8 +4957,8 @@ var EditorAlignCenterButtonDirective = /** @class */ (function (_super) {
|
|
|
4920
4957
|
*/
|
|
4921
4958
|
var EditorAlignRightButtonDirective = /** @class */ (function (_super) {
|
|
4922
4959
|
__extends(EditorAlignRightButtonDirective, _super);
|
|
4923
|
-
function EditorAlignRightButtonDirective(button, editor, localization) {
|
|
4924
|
-
return _super.call(this, 'alignRight', button, editor, localization) || this;
|
|
4960
|
+
function EditorAlignRightButtonDirective(button, editor, localization, toolsService) {
|
|
4961
|
+
return _super.call(this, 'alignRight', button, editor, localization, toolsService) || this;
|
|
4925
4962
|
}
|
|
4926
4963
|
EditorAlignRightButtonDirective = __decorate([
|
|
4927
4964
|
Directive({
|
|
@@ -4930,7 +4967,8 @@ var EditorAlignRightButtonDirective = /** @class */ (function (_super) {
|
|
|
4930
4967
|
__param(1, Host()),
|
|
4931
4968
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4932
4969
|
EditorComponent,
|
|
4933
|
-
EditorLocalizationService
|
|
4970
|
+
EditorLocalizationService,
|
|
4971
|
+
EditorToolsService])
|
|
4934
4972
|
], EditorAlignRightButtonDirective);
|
|
4935
4973
|
return EditorAlignRightButtonDirective;
|
|
4936
4974
|
}(EditorCommandButton));
|
|
@@ -4955,8 +4993,8 @@ var EditorAlignRightButtonDirective = /** @class */ (function (_super) {
|
|
|
4955
4993
|
*/
|
|
4956
4994
|
var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
|
|
4957
4995
|
__extends(EditorAlignJustifyButtonDirective, _super);
|
|
4958
|
-
function EditorAlignJustifyButtonDirective(button, editor, localization) {
|
|
4959
|
-
return _super.call(this, 'alignJustify', button, editor, localization) || this;
|
|
4996
|
+
function EditorAlignJustifyButtonDirective(button, editor, localization, toolsService) {
|
|
4997
|
+
return _super.call(this, 'alignJustify', button, editor, localization, toolsService) || this;
|
|
4960
4998
|
}
|
|
4961
4999
|
EditorAlignJustifyButtonDirective = __decorate([
|
|
4962
5000
|
Directive({
|
|
@@ -4965,7 +5003,8 @@ var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
|
|
|
4965
5003
|
__param(1, Host()),
|
|
4966
5004
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4967
5005
|
EditorComponent,
|
|
4968
|
-
EditorLocalizationService
|
|
5006
|
+
EditorLocalizationService,
|
|
5007
|
+
EditorToolsService])
|
|
4969
5008
|
], EditorAlignJustifyButtonDirective);
|
|
4970
5009
|
return EditorAlignJustifyButtonDirective;
|
|
4971
5010
|
}(EditorCommandButton));
|
|
@@ -4990,8 +5029,8 @@ var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
|
|
|
4990
5029
|
*/
|
|
4991
5030
|
var EditorRedoButtonDirective = /** @class */ (function (_super) {
|
|
4992
5031
|
__extends(EditorRedoButtonDirective, _super);
|
|
4993
|
-
function EditorRedoButtonDirective(button, editor, localization) {
|
|
4994
|
-
return _super.call(this, 'redo', button, editor, localization) || this;
|
|
5032
|
+
function EditorRedoButtonDirective(button, editor, localization, toolsService) {
|
|
5033
|
+
return _super.call(this, 'redo', button, editor, localization, toolsService) || this;
|
|
4995
5034
|
}
|
|
4996
5035
|
EditorRedoButtonDirective = __decorate([
|
|
4997
5036
|
Directive({
|
|
@@ -5000,7 +5039,8 @@ var EditorRedoButtonDirective = /** @class */ (function (_super) {
|
|
|
5000
5039
|
__param(1, Host()),
|
|
5001
5040
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5002
5041
|
EditorComponent,
|
|
5003
|
-
EditorLocalizationService
|
|
5042
|
+
EditorLocalizationService,
|
|
5043
|
+
EditorToolsService])
|
|
5004
5044
|
], EditorRedoButtonDirective);
|
|
5005
5045
|
return EditorRedoButtonDirective;
|
|
5006
5046
|
}(EditorCommandButton));
|
|
@@ -5025,8 +5065,8 @@ var EditorRedoButtonDirective = /** @class */ (function (_super) {
|
|
|
5025
5065
|
*/
|
|
5026
5066
|
var EditorUndoButtonDirective = /** @class */ (function (_super) {
|
|
5027
5067
|
__extends(EditorUndoButtonDirective, _super);
|
|
5028
|
-
function EditorUndoButtonDirective(button, editor, localization) {
|
|
5029
|
-
return _super.call(this, 'undo', button, editor, localization) || this;
|
|
5068
|
+
function EditorUndoButtonDirective(button, editor, localization, toolsService) {
|
|
5069
|
+
return _super.call(this, 'undo', button, editor, localization, toolsService) || this;
|
|
5030
5070
|
}
|
|
5031
5071
|
EditorUndoButtonDirective = __decorate([
|
|
5032
5072
|
Directive({
|
|
@@ -5035,7 +5075,8 @@ var EditorUndoButtonDirective = /** @class */ (function (_super) {
|
|
|
5035
5075
|
__param(1, Host()),
|
|
5036
5076
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5037
5077
|
EditorComponent,
|
|
5038
|
-
EditorLocalizationService
|
|
5078
|
+
EditorLocalizationService,
|
|
5079
|
+
EditorToolsService])
|
|
5039
5080
|
], EditorUndoButtonDirective);
|
|
5040
5081
|
return EditorUndoButtonDirective;
|
|
5041
5082
|
}(EditorCommandButton));
|
|
@@ -5045,12 +5086,13 @@ var EditorUndoButtonDirective = /** @class */ (function (_super) {
|
|
|
5045
5086
|
*/
|
|
5046
5087
|
var EditorCommandDialog = /** @class */ (function (_super) {
|
|
5047
5088
|
__extends(EditorCommandDialog, _super);
|
|
5048
|
-
function EditorCommandDialog(dialog, button, editor, localization) {
|
|
5049
|
-
var _this = _super.call(this, dialog, button, editor, localization) || this;
|
|
5089
|
+
function EditorCommandDialog(dialog, button, editor, localization, toolsService) {
|
|
5090
|
+
var _this = _super.call(this, dialog, button, editor, localization, toolsService) || this;
|
|
5050
5091
|
_this.dialog = dialog;
|
|
5051
5092
|
_this.button = button;
|
|
5052
5093
|
_this.editor = editor;
|
|
5053
5094
|
_this.localization = localization;
|
|
5095
|
+
_this.toolsService = toolsService;
|
|
5054
5096
|
return _this;
|
|
5055
5097
|
}
|
|
5056
5098
|
EditorCommandDialog.prototype.clickHandler = function () {
|
|
@@ -5082,8 +5124,8 @@ var EditorCommandDialog = /** @class */ (function (_super) {
|
|
|
5082
5124
|
*/
|
|
5083
5125
|
var EditorInsertImageButtonDirective = /** @class */ (function (_super) {
|
|
5084
5126
|
__extends(EditorInsertImageButtonDirective, _super);
|
|
5085
|
-
function EditorInsertImageButtonDirective(button, editor, localization) {
|
|
5086
|
-
return _super.call(this, 'insertImage', button, editor, localization) || this;
|
|
5127
|
+
function EditorInsertImageButtonDirective(button, editor, localization, toolsService) {
|
|
5128
|
+
return _super.call(this, 'insertImage', button, editor, localization, toolsService) || this;
|
|
5087
5129
|
}
|
|
5088
5130
|
EditorInsertImageButtonDirective = __decorate([
|
|
5089
5131
|
Directive({
|
|
@@ -5092,7 +5134,8 @@ var EditorInsertImageButtonDirective = /** @class */ (function (_super) {
|
|
|
5092
5134
|
__param(1, Host()),
|
|
5093
5135
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5094
5136
|
EditorComponent,
|
|
5095
|
-
EditorLocalizationService
|
|
5137
|
+
EditorLocalizationService,
|
|
5138
|
+
EditorToolsService])
|
|
5096
5139
|
], EditorInsertImageButtonDirective);
|
|
5097
5140
|
return EditorInsertImageButtonDirective;
|
|
5098
5141
|
}(EditorCommandDialog));
|
|
@@ -5117,8 +5160,8 @@ var EditorInsertImageButtonDirective = /** @class */ (function (_super) {
|
|
|
5117
5160
|
*/
|
|
5118
5161
|
var EditorIndentButtonDirective = /** @class */ (function (_super) {
|
|
5119
5162
|
__extends(EditorIndentButtonDirective, _super);
|
|
5120
|
-
function EditorIndentButtonDirective(button, editor, localization) {
|
|
5121
|
-
return _super.call(this, 'indent', button, editor, localization) || this;
|
|
5163
|
+
function EditorIndentButtonDirective(button, editor, localization, toolsService) {
|
|
5164
|
+
return _super.call(this, 'indent', button, editor, localization, toolsService) || this;
|
|
5122
5165
|
}
|
|
5123
5166
|
EditorIndentButtonDirective = __decorate([
|
|
5124
5167
|
Directive({
|
|
@@ -5127,7 +5170,8 @@ var EditorIndentButtonDirective = /** @class */ (function (_super) {
|
|
|
5127
5170
|
__param(1, Host()),
|
|
5128
5171
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5129
5172
|
EditorComponent,
|
|
5130
|
-
EditorLocalizationService
|
|
5173
|
+
EditorLocalizationService,
|
|
5174
|
+
EditorToolsService])
|
|
5131
5175
|
], EditorIndentButtonDirective);
|
|
5132
5176
|
return EditorIndentButtonDirective;
|
|
5133
5177
|
}(EditorCommandButton));
|
|
@@ -5152,8 +5196,8 @@ var EditorIndentButtonDirective = /** @class */ (function (_super) {
|
|
|
5152
5196
|
*/
|
|
5153
5197
|
var EditorOutdentButtonDirective = /** @class */ (function (_super) {
|
|
5154
5198
|
__extends(EditorOutdentButtonDirective, _super);
|
|
5155
|
-
function EditorOutdentButtonDirective(button, editor, localization) {
|
|
5156
|
-
return _super.call(this, 'outdent', button, editor, localization) || this;
|
|
5199
|
+
function EditorOutdentButtonDirective(button, editor, localization, toolsService) {
|
|
5200
|
+
return _super.call(this, 'outdent', button, editor, localization, toolsService) || this;
|
|
5157
5201
|
}
|
|
5158
5202
|
EditorOutdentButtonDirective = __decorate([
|
|
5159
5203
|
Directive({
|
|
@@ -5162,7 +5206,8 @@ var EditorOutdentButtonDirective = /** @class */ (function (_super) {
|
|
|
5162
5206
|
__param(1, Host()),
|
|
5163
5207
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5164
5208
|
EditorComponent,
|
|
5165
|
-
EditorLocalizationService
|
|
5209
|
+
EditorLocalizationService,
|
|
5210
|
+
EditorToolsService])
|
|
5166
5211
|
], EditorOutdentButtonDirective);
|
|
5167
5212
|
return EditorOutdentButtonDirective;
|
|
5168
5213
|
}(EditorCommandButton));
|
|
@@ -5187,8 +5232,8 @@ var EditorOutdentButtonDirective = /** @class */ (function (_super) {
|
|
|
5187
5232
|
*/
|
|
5188
5233
|
var EditorCreateLinkButtonDirective = /** @class */ (function (_super) {
|
|
5189
5234
|
__extends(EditorCreateLinkButtonDirective, _super);
|
|
5190
|
-
function EditorCreateLinkButtonDirective(button, editor, localization) {
|
|
5191
|
-
return _super.call(this, 'createLink', button, editor, localization) || this;
|
|
5235
|
+
function EditorCreateLinkButtonDirective(button, editor, localization, toolsService) {
|
|
5236
|
+
return _super.call(this, 'createLink', button, editor, localization, toolsService) || this;
|
|
5192
5237
|
}
|
|
5193
5238
|
EditorCreateLinkButtonDirective = __decorate([
|
|
5194
5239
|
Directive({
|
|
@@ -5197,7 +5242,8 @@ var EditorCreateLinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5197
5242
|
__param(1, Host()),
|
|
5198
5243
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5199
5244
|
EditorComponent,
|
|
5200
|
-
EditorLocalizationService
|
|
5245
|
+
EditorLocalizationService,
|
|
5246
|
+
EditorToolsService])
|
|
5201
5247
|
], EditorCreateLinkButtonDirective);
|
|
5202
5248
|
return EditorCreateLinkButtonDirective;
|
|
5203
5249
|
}(EditorCommandDialog));
|
|
@@ -5222,8 +5268,8 @@ var EditorCreateLinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5222
5268
|
*/
|
|
5223
5269
|
var EditorUnlinkButtonDirective = /** @class */ (function (_super) {
|
|
5224
5270
|
__extends(EditorUnlinkButtonDirective, _super);
|
|
5225
|
-
function EditorUnlinkButtonDirective(button, editor, localization) {
|
|
5226
|
-
return _super.call(this, 'unlink', button, editor, localization) || this;
|
|
5271
|
+
function EditorUnlinkButtonDirective(button, editor, localization, toolsService) {
|
|
5272
|
+
return _super.call(this, 'unlink', button, editor, localization, toolsService) || this;
|
|
5227
5273
|
}
|
|
5228
5274
|
EditorUnlinkButtonDirective = __decorate([
|
|
5229
5275
|
Directive({
|
|
@@ -5232,7 +5278,8 @@ var EditorUnlinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5232
5278
|
__param(1, Host()),
|
|
5233
5279
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5234
5280
|
EditorComponent,
|
|
5235
|
-
EditorLocalizationService
|
|
5281
|
+
EditorLocalizationService,
|
|
5282
|
+
EditorToolsService])
|
|
5236
5283
|
], EditorUnlinkButtonDirective);
|
|
5237
5284
|
return EditorUnlinkButtonDirective;
|
|
5238
5285
|
}(EditorCommandButton));
|
|
@@ -5257,8 +5304,8 @@ var EditorUnlinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5257
5304
|
*/
|
|
5258
5305
|
var EditorInsertOrderedListButtonDirective = /** @class */ (function (_super) {
|
|
5259
5306
|
__extends(EditorInsertOrderedListButtonDirective, _super);
|
|
5260
|
-
function EditorInsertOrderedListButtonDirective(button, editor, localization) {
|
|
5261
|
-
return _super.call(this, 'insertOrderedList', button, editor, localization) || this;
|
|
5307
|
+
function EditorInsertOrderedListButtonDirective(button, editor, localization, toolsService) {
|
|
5308
|
+
return _super.call(this, 'insertOrderedList', button, editor, localization, toolsService) || this;
|
|
5262
5309
|
}
|
|
5263
5310
|
EditorInsertOrderedListButtonDirective = __decorate([
|
|
5264
5311
|
Directive({
|
|
@@ -5267,7 +5314,8 @@ var EditorInsertOrderedListButtonDirective = /** @class */ (function (_super) {
|
|
|
5267
5314
|
__param(1, Host()),
|
|
5268
5315
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5269
5316
|
EditorComponent,
|
|
5270
|
-
EditorLocalizationService
|
|
5317
|
+
EditorLocalizationService,
|
|
5318
|
+
EditorToolsService])
|
|
5271
5319
|
], EditorInsertOrderedListButtonDirective);
|
|
5272
5320
|
return EditorInsertOrderedListButtonDirective;
|
|
5273
5321
|
}(EditorCommandButton));
|
|
@@ -5292,8 +5340,8 @@ var EditorInsertOrderedListButtonDirective = /** @class */ (function (_super) {
|
|
|
5292
5340
|
*/
|
|
5293
5341
|
var EditorInsertUnorderedListButtonDirective = /** @class */ (function (_super) {
|
|
5294
5342
|
__extends(EditorInsertUnorderedListButtonDirective, _super);
|
|
5295
|
-
function EditorInsertUnorderedListButtonDirective(button, editor, localization) {
|
|
5296
|
-
return _super.call(this, 'insertUnorderedList', button, editor, localization) || this;
|
|
5343
|
+
function EditorInsertUnorderedListButtonDirective(button, editor, localization, toolsService) {
|
|
5344
|
+
return _super.call(this, 'insertUnorderedList', button, editor, localization, toolsService) || this;
|
|
5297
5345
|
}
|
|
5298
5346
|
EditorInsertUnorderedListButtonDirective = __decorate([
|
|
5299
5347
|
Directive({
|
|
@@ -5302,7 +5350,8 @@ var EditorInsertUnorderedListButtonDirective = /** @class */ (function (_super)
|
|
|
5302
5350
|
__param(1, Host()),
|
|
5303
5351
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5304
5352
|
EditorComponent,
|
|
5305
|
-
EditorLocalizationService
|
|
5353
|
+
EditorLocalizationService,
|
|
5354
|
+
EditorToolsService])
|
|
5306
5355
|
], EditorInsertUnorderedListButtonDirective);
|
|
5307
5356
|
return EditorInsertUnorderedListButtonDirective;
|
|
5308
5357
|
}(EditorCommandButton));
|
|
@@ -5326,8 +5375,8 @@ var EditorInsertUnorderedListButtonDirective = /** @class */ (function (_super)
|
|
|
5326
5375
|
*/
|
|
5327
5376
|
var EditorViewSourceButtonDirective = /** @class */ (function (_super) {
|
|
5328
5377
|
__extends(EditorViewSourceButtonDirective, _super);
|
|
5329
|
-
function EditorViewSourceButtonDirective(button, editor, localization) {
|
|
5330
|
-
return _super.call(this, 'viewSource', button, editor, localization) || this;
|
|
5378
|
+
function EditorViewSourceButtonDirective(button, editor, localization, toolsService) {
|
|
5379
|
+
return _super.call(this, 'viewSource', button, editor, localization, toolsService) || this;
|
|
5331
5380
|
}
|
|
5332
5381
|
EditorViewSourceButtonDirective = __decorate([
|
|
5333
5382
|
Directive({
|
|
@@ -5336,7 +5385,8 @@ var EditorViewSourceButtonDirective = /** @class */ (function (_super) {
|
|
|
5336
5385
|
__param(1, Host()),
|
|
5337
5386
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5338
5387
|
EditorComponent,
|
|
5339
|
-
EditorLocalizationService
|
|
5388
|
+
EditorLocalizationService,
|
|
5389
|
+
EditorToolsService])
|
|
5340
5390
|
], EditorViewSourceButtonDirective);
|
|
5341
5391
|
return EditorViewSourceButtonDirective;
|
|
5342
5392
|
}(EditorCommandDialog));
|
|
@@ -5361,8 +5411,8 @@ var EditorViewSourceButtonDirective = /** @class */ (function (_super) {
|
|
|
5361
5411
|
*/
|
|
5362
5412
|
var EditorBoldButtonDirective = /** @class */ (function (_super) {
|
|
5363
5413
|
__extends(EditorBoldButtonDirective, _super);
|
|
5364
|
-
function EditorBoldButtonDirective(button, editor, localization) {
|
|
5365
|
-
return _super.call(this, 'bold', button, editor, localization) || this;
|
|
5414
|
+
function EditorBoldButtonDirective(button, editor, localization, toolsService) {
|
|
5415
|
+
return _super.call(this, 'bold', button, editor, localization, toolsService) || this;
|
|
5366
5416
|
}
|
|
5367
5417
|
EditorBoldButtonDirective = __decorate([
|
|
5368
5418
|
Directive({
|
|
@@ -5371,7 +5421,8 @@ var EditorBoldButtonDirective = /** @class */ (function (_super) {
|
|
|
5371
5421
|
__param(1, Host()),
|
|
5372
5422
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5373
5423
|
EditorComponent,
|
|
5374
|
-
EditorLocalizationService
|
|
5424
|
+
EditorLocalizationService,
|
|
5425
|
+
EditorToolsService])
|
|
5375
5426
|
], EditorBoldButtonDirective);
|
|
5376
5427
|
return EditorBoldButtonDirective;
|
|
5377
5428
|
}(EditorCommandButton));
|
|
@@ -5396,8 +5447,8 @@ var EditorBoldButtonDirective = /** @class */ (function (_super) {
|
|
|
5396
5447
|
*/
|
|
5397
5448
|
var EditorItalicButtonDirective = /** @class */ (function (_super) {
|
|
5398
5449
|
__extends(EditorItalicButtonDirective, _super);
|
|
5399
|
-
function EditorItalicButtonDirective(button, editor, localization) {
|
|
5400
|
-
return _super.call(this, 'italic', button, editor, localization) || this;
|
|
5450
|
+
function EditorItalicButtonDirective(button, editor, localization, toolsService) {
|
|
5451
|
+
return _super.call(this, 'italic', button, editor, localization, toolsService) || this;
|
|
5401
5452
|
}
|
|
5402
5453
|
EditorItalicButtonDirective = __decorate([
|
|
5403
5454
|
Directive({
|
|
@@ -5406,7 +5457,8 @@ var EditorItalicButtonDirective = /** @class */ (function (_super) {
|
|
|
5406
5457
|
__param(1, Host()),
|
|
5407
5458
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5408
5459
|
EditorComponent,
|
|
5409
|
-
EditorLocalizationService
|
|
5460
|
+
EditorLocalizationService,
|
|
5461
|
+
EditorToolsService])
|
|
5410
5462
|
], EditorItalicButtonDirective);
|
|
5411
5463
|
return EditorItalicButtonDirective;
|
|
5412
5464
|
}(EditorCommandButton));
|
|
@@ -5431,8 +5483,8 @@ var EditorItalicButtonDirective = /** @class */ (function (_super) {
|
|
|
5431
5483
|
*/
|
|
5432
5484
|
var EditorUnderlineButtonDirective = /** @class */ (function (_super) {
|
|
5433
5485
|
__extends(EditorUnderlineButtonDirective, _super);
|
|
5434
|
-
function EditorUnderlineButtonDirective(button, editor, localization) {
|
|
5435
|
-
return _super.call(this, 'underline', button, editor, localization) || this;
|
|
5486
|
+
function EditorUnderlineButtonDirective(button, editor, localization, toolsService) {
|
|
5487
|
+
return _super.call(this, 'underline', button, editor, localization, toolsService) || this;
|
|
5436
5488
|
}
|
|
5437
5489
|
EditorUnderlineButtonDirective = __decorate([
|
|
5438
5490
|
Directive({
|
|
@@ -5441,7 +5493,8 @@ var EditorUnderlineButtonDirective = /** @class */ (function (_super) {
|
|
|
5441
5493
|
__param(1, Host()),
|
|
5442
5494
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5443
5495
|
EditorComponent,
|
|
5444
|
-
EditorLocalizationService
|
|
5496
|
+
EditorLocalizationService,
|
|
5497
|
+
EditorToolsService])
|
|
5445
5498
|
], EditorUnderlineButtonDirective);
|
|
5446
5499
|
return EditorUnderlineButtonDirective;
|
|
5447
5500
|
}(EditorCommandButton));
|
|
@@ -5466,8 +5519,8 @@ var EditorUnderlineButtonDirective = /** @class */ (function (_super) {
|
|
|
5466
5519
|
*/
|
|
5467
5520
|
var EditorStrikethroughButtonDirective = /** @class */ (function (_super) {
|
|
5468
5521
|
__extends(EditorStrikethroughButtonDirective, _super);
|
|
5469
|
-
function EditorStrikethroughButtonDirective(button, editor, localization) {
|
|
5470
|
-
return _super.call(this, 'strikethrough', button, editor, localization) || this;
|
|
5522
|
+
function EditorStrikethroughButtonDirective(button, editor, localization, toolsService) {
|
|
5523
|
+
return _super.call(this, 'strikethrough', button, editor, localization, toolsService) || this;
|
|
5471
5524
|
}
|
|
5472
5525
|
EditorStrikethroughButtonDirective = __decorate([
|
|
5473
5526
|
Directive({
|
|
@@ -5476,7 +5529,8 @@ var EditorStrikethroughButtonDirective = /** @class */ (function (_super) {
|
|
|
5476
5529
|
__param(1, Host()),
|
|
5477
5530
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5478
5531
|
EditorComponent,
|
|
5479
|
-
EditorLocalizationService
|
|
5532
|
+
EditorLocalizationService,
|
|
5533
|
+
EditorToolsService])
|
|
5480
5534
|
], EditorStrikethroughButtonDirective);
|
|
5481
5535
|
return EditorStrikethroughButtonDirective;
|
|
5482
5536
|
}(EditorCommandButton));
|
|
@@ -5501,8 +5555,8 @@ var EditorStrikethroughButtonDirective = /** @class */ (function (_super) {
|
|
|
5501
5555
|
*/
|
|
5502
5556
|
var EditorSubscriptButtonDirective = /** @class */ (function (_super) {
|
|
5503
5557
|
__extends(EditorSubscriptButtonDirective, _super);
|
|
5504
|
-
function EditorSubscriptButtonDirective(button, editor, localization) {
|
|
5505
|
-
return _super.call(this, 'subscript', button, editor, localization) || this;
|
|
5558
|
+
function EditorSubscriptButtonDirective(button, editor, localization, toolsService) {
|
|
5559
|
+
return _super.call(this, 'subscript', button, editor, localization, toolsService) || this;
|
|
5506
5560
|
}
|
|
5507
5561
|
EditorSubscriptButtonDirective = __decorate([
|
|
5508
5562
|
Directive({
|
|
@@ -5511,7 +5565,8 @@ var EditorSubscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5511
5565
|
__param(1, Host()),
|
|
5512
5566
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5513
5567
|
EditorComponent,
|
|
5514
|
-
EditorLocalizationService
|
|
5568
|
+
EditorLocalizationService,
|
|
5569
|
+
EditorToolsService])
|
|
5515
5570
|
], EditorSubscriptButtonDirective);
|
|
5516
5571
|
return EditorSubscriptButtonDirective;
|
|
5517
5572
|
}(EditorCommandButton));
|
|
@@ -5536,8 +5591,8 @@ var EditorSubscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5536
5591
|
*/
|
|
5537
5592
|
var EditorSuperscriptButtonDirective = /** @class */ (function (_super) {
|
|
5538
5593
|
__extends(EditorSuperscriptButtonDirective, _super);
|
|
5539
|
-
function EditorSuperscriptButtonDirective(button, editor, localization) {
|
|
5540
|
-
return _super.call(this, 'superscript', button, editor, localization) || this;
|
|
5594
|
+
function EditorSuperscriptButtonDirective(button, editor, localization, toolsService) {
|
|
5595
|
+
return _super.call(this, 'superscript', button, editor, localization, toolsService) || this;
|
|
5541
5596
|
}
|
|
5542
5597
|
EditorSuperscriptButtonDirective = __decorate([
|
|
5543
5598
|
Directive({
|
|
@@ -5546,7 +5601,8 @@ var EditorSuperscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5546
5601
|
__param(1, Host()),
|
|
5547
5602
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5548
5603
|
EditorComponent,
|
|
5549
|
-
EditorLocalizationService
|
|
5604
|
+
EditorLocalizationService,
|
|
5605
|
+
EditorToolsService])
|
|
5550
5606
|
], EditorSuperscriptButtonDirective);
|
|
5551
5607
|
return EditorSuperscriptButtonDirective;
|
|
5552
5608
|
}(EditorCommandButton));
|
|
@@ -5563,8 +5619,8 @@ var EditorSuperscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5563
5619
|
*/
|
|
5564
5620
|
var EditorInsertFileButtonDirective = /** @class */ (function (_super) {
|
|
5565
5621
|
__extends(EditorInsertFileButtonDirective, _super);
|
|
5566
|
-
function EditorInsertFileButtonDirective(button, editor, localization) {
|
|
5567
|
-
return _super.call(this, 'insertFile', button, editor, localization) || this;
|
|
5622
|
+
function EditorInsertFileButtonDirective(button, editor, localization, toolsService) {
|
|
5623
|
+
return _super.call(this, 'insertFile', button, editor, localization, toolsService) || this;
|
|
5568
5624
|
}
|
|
5569
5625
|
EditorInsertFileButtonDirective = __decorate([
|
|
5570
5626
|
Directive({
|
|
@@ -5573,7 +5629,8 @@ var EditorInsertFileButtonDirective = /** @class */ (function (_super) {
|
|
|
5573
5629
|
__param(1, Host()),
|
|
5574
5630
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5575
5631
|
EditorComponent,
|
|
5576
|
-
EditorLocalizationService
|
|
5632
|
+
EditorLocalizationService,
|
|
5633
|
+
EditorToolsService])
|
|
5577
5634
|
], EditorInsertFileButtonDirective);
|
|
5578
5635
|
return EditorInsertFileButtonDirective;
|
|
5579
5636
|
}(EditorCommandDialog));
|
|
@@ -5637,8 +5694,8 @@ var EditorBackColorDirective = /** @class */ (function () {
|
|
|
5637
5694
|
*/
|
|
5638
5695
|
var EditorCleanFormattingButtonDirective = /** @class */ (function (_super) {
|
|
5639
5696
|
__extends(EditorCleanFormattingButtonDirective, _super);
|
|
5640
|
-
function EditorCleanFormattingButtonDirective(button, editor, localization) {
|
|
5641
|
-
return _super.call(this, 'cleanFormatting', button, editor, localization) || this;
|
|
5697
|
+
function EditorCleanFormattingButtonDirective(button, editor, localization, toolsService) {
|
|
5698
|
+
return _super.call(this, 'cleanFormatting', button, editor, localization, toolsService) || this;
|
|
5642
5699
|
}
|
|
5643
5700
|
EditorCleanFormattingButtonDirective = __decorate([
|
|
5644
5701
|
Directive({
|
|
@@ -5647,7 +5704,8 @@ var EditorCleanFormattingButtonDirective = /** @class */ (function (_super) {
|
|
|
5647
5704
|
__param(1, Host()),
|
|
5648
5705
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5649
5706
|
EditorComponent,
|
|
5650
|
-
EditorLocalizationService
|
|
5707
|
+
EditorLocalizationService,
|
|
5708
|
+
EditorToolsService])
|
|
5651
5709
|
], EditorCleanFormattingButtonDirective);
|
|
5652
5710
|
return EditorCleanFormattingButtonDirective;
|
|
5653
5711
|
}(EditorCommandButton));
|
|
@@ -5665,8 +5723,8 @@ var EditorCleanFormattingButtonDirective = /** @class */ (function (_super) {
|
|
|
5665
5723
|
*/
|
|
5666
5724
|
var EditorAddColumnBeforeButtonDirective = /** @class */ (function (_super) {
|
|
5667
5725
|
__extends(EditorAddColumnBeforeButtonDirective, _super);
|
|
5668
|
-
function EditorAddColumnBeforeButtonDirective(button, editor, localization) {
|
|
5669
|
-
return _super.call(this, 'addColumnBefore', button, editor, localization) || this;
|
|
5726
|
+
function EditorAddColumnBeforeButtonDirective(button, editor, localization, toolsService) {
|
|
5727
|
+
return _super.call(this, 'addColumnBefore', button, editor, localization, toolsService) || this;
|
|
5670
5728
|
}
|
|
5671
5729
|
EditorAddColumnBeforeButtonDirective = __decorate([
|
|
5672
5730
|
Directive({
|
|
@@ -5675,7 +5733,8 @@ var EditorAddColumnBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5675
5733
|
__param(1, Host()),
|
|
5676
5734
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5677
5735
|
EditorComponent,
|
|
5678
|
-
EditorLocalizationService
|
|
5736
|
+
EditorLocalizationService,
|
|
5737
|
+
EditorToolsService])
|
|
5679
5738
|
], EditorAddColumnBeforeButtonDirective);
|
|
5680
5739
|
return EditorAddColumnBeforeButtonDirective;
|
|
5681
5740
|
}(EditorCommandButton));
|
|
@@ -5693,8 +5752,8 @@ var EditorAddColumnBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5693
5752
|
*/
|
|
5694
5753
|
var EditorAddColumnAfterButtonDirective = /** @class */ (function (_super) {
|
|
5695
5754
|
__extends(EditorAddColumnAfterButtonDirective, _super);
|
|
5696
|
-
function EditorAddColumnAfterButtonDirective(button, editor, localization) {
|
|
5697
|
-
return _super.call(this, 'addColumnAfter', button, editor, localization) || this;
|
|
5755
|
+
function EditorAddColumnAfterButtonDirective(button, editor, localization, toolsService) {
|
|
5756
|
+
return _super.call(this, 'addColumnAfter', button, editor, localization, toolsService) || this;
|
|
5698
5757
|
}
|
|
5699
5758
|
EditorAddColumnAfterButtonDirective = __decorate([
|
|
5700
5759
|
Directive({
|
|
@@ -5703,7 +5762,8 @@ var EditorAddColumnAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5703
5762
|
__param(1, Host()),
|
|
5704
5763
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5705
5764
|
EditorComponent,
|
|
5706
|
-
EditorLocalizationService
|
|
5765
|
+
EditorLocalizationService,
|
|
5766
|
+
EditorToolsService])
|
|
5707
5767
|
], EditorAddColumnAfterButtonDirective);
|
|
5708
5768
|
return EditorAddColumnAfterButtonDirective;
|
|
5709
5769
|
}(EditorCommandButton));
|
|
@@ -5721,8 +5781,8 @@ var EditorAddColumnAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5721
5781
|
*/
|
|
5722
5782
|
var EditorAddRowBeforeButtonDirective = /** @class */ (function (_super) {
|
|
5723
5783
|
__extends(EditorAddRowBeforeButtonDirective, _super);
|
|
5724
|
-
function EditorAddRowBeforeButtonDirective(button, editor, localization) {
|
|
5725
|
-
return _super.call(this, 'addRowBefore', button, editor, localization) || this;
|
|
5784
|
+
function EditorAddRowBeforeButtonDirective(button, editor, localization, toolsService) {
|
|
5785
|
+
return _super.call(this, 'addRowBefore', button, editor, localization, toolsService) || this;
|
|
5726
5786
|
}
|
|
5727
5787
|
EditorAddRowBeforeButtonDirective = __decorate([
|
|
5728
5788
|
Directive({
|
|
@@ -5731,7 +5791,8 @@ var EditorAddRowBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5731
5791
|
__param(1, Host()),
|
|
5732
5792
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5733
5793
|
EditorComponent,
|
|
5734
|
-
EditorLocalizationService
|
|
5794
|
+
EditorLocalizationService,
|
|
5795
|
+
EditorToolsService])
|
|
5735
5796
|
], EditorAddRowBeforeButtonDirective);
|
|
5736
5797
|
return EditorAddRowBeforeButtonDirective;
|
|
5737
5798
|
}(EditorCommandButton));
|
|
@@ -5749,8 +5810,8 @@ var EditorAddRowBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5749
5810
|
*/
|
|
5750
5811
|
var EditorAddRowAfterButtonDirective = /** @class */ (function (_super) {
|
|
5751
5812
|
__extends(EditorAddRowAfterButtonDirective, _super);
|
|
5752
|
-
function EditorAddRowAfterButtonDirective(button, editor, localization) {
|
|
5753
|
-
return _super.call(this, 'addRowAfter', button, editor, localization) || this;
|
|
5813
|
+
function EditorAddRowAfterButtonDirective(button, editor, localization, toolsService) {
|
|
5814
|
+
return _super.call(this, 'addRowAfter', button, editor, localization, toolsService) || this;
|
|
5754
5815
|
}
|
|
5755
5816
|
EditorAddRowAfterButtonDirective = __decorate([
|
|
5756
5817
|
Directive({
|
|
@@ -5759,7 +5820,8 @@ var EditorAddRowAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5759
5820
|
__param(1, Host()),
|
|
5760
5821
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5761
5822
|
EditorComponent,
|
|
5762
|
-
EditorLocalizationService
|
|
5823
|
+
EditorLocalizationService,
|
|
5824
|
+
EditorToolsService])
|
|
5763
5825
|
], EditorAddRowAfterButtonDirective);
|
|
5764
5826
|
return EditorAddRowAfterButtonDirective;
|
|
5765
5827
|
}(EditorCommandButton));
|
|
@@ -5777,8 +5839,8 @@ var EditorAddRowAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5777
5839
|
*/
|
|
5778
5840
|
var EditorDeleteColumnButtonDirective = /** @class */ (function (_super) {
|
|
5779
5841
|
__extends(EditorDeleteColumnButtonDirective, _super);
|
|
5780
|
-
function EditorDeleteColumnButtonDirective(button, editor, localization) {
|
|
5781
|
-
return _super.call(this, 'deleteColumn', button, editor, localization) || this;
|
|
5842
|
+
function EditorDeleteColumnButtonDirective(button, editor, localization, toolsService) {
|
|
5843
|
+
return _super.call(this, 'deleteColumn', button, editor, localization, toolsService) || this;
|
|
5782
5844
|
}
|
|
5783
5845
|
EditorDeleteColumnButtonDirective = __decorate([
|
|
5784
5846
|
Directive({
|
|
@@ -5787,7 +5849,8 @@ var EditorDeleteColumnButtonDirective = /** @class */ (function (_super) {
|
|
|
5787
5849
|
__param(1, Host()),
|
|
5788
5850
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5789
5851
|
EditorComponent,
|
|
5790
|
-
EditorLocalizationService
|
|
5852
|
+
EditorLocalizationService,
|
|
5853
|
+
EditorToolsService])
|
|
5791
5854
|
], EditorDeleteColumnButtonDirective);
|
|
5792
5855
|
return EditorDeleteColumnButtonDirective;
|
|
5793
5856
|
}(EditorCommandButton));
|
|
@@ -5805,8 +5868,8 @@ var EditorDeleteColumnButtonDirective = /** @class */ (function (_super) {
|
|
|
5805
5868
|
*/
|
|
5806
5869
|
var EditorDeleteRowButtonDirective = /** @class */ (function (_super) {
|
|
5807
5870
|
__extends(EditorDeleteRowButtonDirective, _super);
|
|
5808
|
-
function EditorDeleteRowButtonDirective(button, editor, localization) {
|
|
5809
|
-
return _super.call(this, 'deleteRow', button, editor, localization) || this;
|
|
5871
|
+
function EditorDeleteRowButtonDirective(button, editor, localization, toolsService) {
|
|
5872
|
+
return _super.call(this, 'deleteRow', button, editor, localization, toolsService) || this;
|
|
5810
5873
|
}
|
|
5811
5874
|
EditorDeleteRowButtonDirective = __decorate([
|
|
5812
5875
|
Directive({
|
|
@@ -5815,7 +5878,8 @@ var EditorDeleteRowButtonDirective = /** @class */ (function (_super) {
|
|
|
5815
5878
|
__param(1, Host()),
|
|
5816
5879
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5817
5880
|
EditorComponent,
|
|
5818
|
-
EditorLocalizationService
|
|
5881
|
+
EditorLocalizationService,
|
|
5882
|
+
EditorToolsService])
|
|
5819
5883
|
], EditorDeleteRowButtonDirective);
|
|
5820
5884
|
return EditorDeleteRowButtonDirective;
|
|
5821
5885
|
}(EditorCommandButton));
|
|
@@ -5833,8 +5897,8 @@ var EditorDeleteRowButtonDirective = /** @class */ (function (_super) {
|
|
|
5833
5897
|
*/
|
|
5834
5898
|
var EditorDeleteTableButtonDirective = /** @class */ (function (_super) {
|
|
5835
5899
|
__extends(EditorDeleteTableButtonDirective, _super);
|
|
5836
|
-
function EditorDeleteTableButtonDirective(button, editor, localization) {
|
|
5837
|
-
return _super.call(this, 'deleteTable', button, editor, localization) || this;
|
|
5900
|
+
function EditorDeleteTableButtonDirective(button, editor, localization, toolsService) {
|
|
5901
|
+
return _super.call(this, 'deleteTable', button, editor, localization, toolsService) || this;
|
|
5838
5902
|
}
|
|
5839
5903
|
EditorDeleteTableButtonDirective = __decorate([
|
|
5840
5904
|
Directive({
|
|
@@ -5843,7 +5907,8 @@ var EditorDeleteTableButtonDirective = /** @class */ (function (_super) {
|
|
|
5843
5907
|
__param(1, Host()),
|
|
5844
5908
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5845
5909
|
EditorComponent,
|
|
5846
|
-
EditorLocalizationService
|
|
5910
|
+
EditorLocalizationService,
|
|
5911
|
+
EditorToolsService])
|
|
5847
5912
|
], EditorDeleteTableButtonDirective);
|
|
5848
5913
|
return EditorDeleteTableButtonDirective;
|
|
5849
5914
|
}(EditorCommandButton));
|
|
@@ -5863,8 +5928,8 @@ var EditorDeleteTableButtonDirective = /** @class */ (function (_super) {
|
|
|
5863
5928
|
*/
|
|
5864
5929
|
var EditorMergeCellsButtonDirective = /** @class */ (function (_super) {
|
|
5865
5930
|
__extends(EditorMergeCellsButtonDirective, _super);
|
|
5866
|
-
function EditorMergeCellsButtonDirective(button, editor, localization) {
|
|
5867
|
-
return _super.call(this, 'mergeCells', button, editor, localization) || this;
|
|
5931
|
+
function EditorMergeCellsButtonDirective(button, editor, localization, toolsService) {
|
|
5932
|
+
return _super.call(this, 'mergeCells', button, editor, localization, toolsService) || this;
|
|
5868
5933
|
}
|
|
5869
5934
|
EditorMergeCellsButtonDirective = __decorate([
|
|
5870
5935
|
Directive({
|
|
@@ -5873,7 +5938,8 @@ var EditorMergeCellsButtonDirective = /** @class */ (function (_super) {
|
|
|
5873
5938
|
__param(1, Host()),
|
|
5874
5939
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5875
5940
|
EditorComponent,
|
|
5876
|
-
EditorLocalizationService
|
|
5941
|
+
EditorLocalizationService,
|
|
5942
|
+
EditorToolsService])
|
|
5877
5943
|
], EditorMergeCellsButtonDirective);
|
|
5878
5944
|
return EditorMergeCellsButtonDirective;
|
|
5879
5945
|
}(EditorCommandButton));
|
|
@@ -5893,8 +5959,8 @@ var EditorMergeCellsButtonDirective = /** @class */ (function (_super) {
|
|
|
5893
5959
|
*/
|
|
5894
5960
|
var EditorSplitCellButtonDirective = /** @class */ (function (_super) {
|
|
5895
5961
|
__extends(EditorSplitCellButtonDirective, _super);
|
|
5896
|
-
function EditorSplitCellButtonDirective(button, editor, localization) {
|
|
5897
|
-
return _super.call(this, 'splitCell', button, editor, localization) || this;
|
|
5962
|
+
function EditorSplitCellButtonDirective(button, editor, localization, toolsService) {
|
|
5963
|
+
return _super.call(this, 'splitCell', button, editor, localization, toolsService) || this;
|
|
5898
5964
|
}
|
|
5899
5965
|
EditorSplitCellButtonDirective = __decorate([
|
|
5900
5966
|
Directive({
|
|
@@ -5903,7 +5969,8 @@ var EditorSplitCellButtonDirective = /** @class */ (function (_super) {
|
|
|
5903
5969
|
__param(1, Host()),
|
|
5904
5970
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5905
5971
|
EditorComponent,
|
|
5906
|
-
EditorLocalizationService
|
|
5972
|
+
EditorLocalizationService,
|
|
5973
|
+
EditorToolsService])
|
|
5907
5974
|
], EditorSplitCellButtonDirective);
|
|
5908
5975
|
return EditorSplitCellButtonDirective;
|
|
5909
5976
|
}(EditorCommandButton));
|
|
@@ -6241,8 +6308,8 @@ var DropDownToolDirective = /** @class */ (function () {
|
|
|
6241
6308
|
*/
|
|
6242
6309
|
var EditorPrintDirective = /** @class */ (function (_super) {
|
|
6243
6310
|
__extends(EditorPrintDirective, _super);
|
|
6244
|
-
function EditorPrintDirective(button, editor, localization) {
|
|
6245
|
-
var _this = _super.call(this, 'print', button, editor, localization) || this;
|
|
6311
|
+
function EditorPrintDirective(button, editor, localization, toolsService) {
|
|
6312
|
+
var _this = _super.call(this, 'print', button, editor, localization, toolsService) || this;
|
|
6246
6313
|
_this.editor = editor;
|
|
6247
6314
|
return _this;
|
|
6248
6315
|
}
|
|
@@ -6271,7 +6338,8 @@ var EditorPrintDirective = /** @class */ (function (_super) {
|
|
|
6271
6338
|
__param(1, Host()),
|
|
6272
6339
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6273
6340
|
EditorComponent,
|
|
6274
|
-
EditorLocalizationService
|
|
6341
|
+
EditorLocalizationService,
|
|
6342
|
+
EditorToolsService])
|
|
6275
6343
|
], EditorPrintDirective);
|
|
6276
6344
|
return EditorPrintDirective;
|
|
6277
6345
|
}(EditorCommandButton));
|
|
@@ -6295,8 +6363,8 @@ var EditorPrintDirective = /** @class */ (function (_super) {
|
|
|
6295
6363
|
*/
|
|
6296
6364
|
var EditorSelectAllButtonDirective = /** @class */ (function (_super) {
|
|
6297
6365
|
__extends(EditorSelectAllButtonDirective, _super);
|
|
6298
|
-
function EditorSelectAllButtonDirective(button, editor, localization) {
|
|
6299
|
-
return _super.call(this, 'selectAll', button, editor, localization) || this;
|
|
6366
|
+
function EditorSelectAllButtonDirective(button, editor, localization, toolsService) {
|
|
6367
|
+
return _super.call(this, 'selectAll', button, editor, localization, toolsService) || this;
|
|
6300
6368
|
}
|
|
6301
6369
|
EditorSelectAllButtonDirective.prototype.clickHandler = function () {
|
|
6302
6370
|
this.editor.shouldEmitFocus = true;
|
|
@@ -6309,7 +6377,8 @@ var EditorSelectAllButtonDirective = /** @class */ (function (_super) {
|
|
|
6309
6377
|
__param(1, Host()),
|
|
6310
6378
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6311
6379
|
EditorComponent,
|
|
6312
|
-
EditorLocalizationService
|
|
6380
|
+
EditorLocalizationService,
|
|
6381
|
+
EditorToolsService])
|
|
6313
6382
|
], EditorSelectAllButtonDirective);
|
|
6314
6383
|
return EditorSelectAllButtonDirective;
|
|
6315
6384
|
}(EditorCommandButton));
|
|
@@ -6486,4 +6555,4 @@ var EditorModule = /** @class */ (function () {
|
|
|
6486
6555
|
* Generated bundle index. Do not edit.
|
|
6487
6556
|
*/
|
|
6488
6557
|
|
|
6489
|
-
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 };
|
|
6558
|
+
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 };
|