@progress/kendo-angular-editor 2.5.0-dev.202111231749 → 2.5.0
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 +9 -9
- 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 -2
- package/dist/es2015/tools/shared/editor-command-base.js +8 -8
- 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 +195 -126
- package/dist/fesm5/index.js +194 -127
- 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 +9 -9
- 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 +4 -4
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: 1638198421,
|
|
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,19 +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) {
|
|
4801
|
+
var _this = this;
|
|
4769
4802
|
this.command = command;
|
|
4770
4803
|
this.button = button;
|
|
4771
4804
|
this.editor = editor;
|
|
4772
4805
|
this.localization = localization;
|
|
4773
|
-
|
|
4774
|
-
EditorCommandBase.prototype.ngOnInit = function () {
|
|
4775
|
-
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
4776
|
-
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
4777
|
-
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
4778
|
-
};
|
|
4779
|
-
EditorCommandBase.prototype.ngAfterViewInit = function () {
|
|
4780
|
-
var _this = this;
|
|
4806
|
+
this.toolsService = toolsService;
|
|
4781
4807
|
setTimeout(function () {
|
|
4782
4808
|
var text = _this.localization.get(_this.command);
|
|
4783
4809
|
if (text) {
|
|
@@ -4789,7 +4815,13 @@ var EditorCommandBase = /** @class */ (function () {
|
|
|
4789
4815
|
_this.button.icon = commandIcons[_this.command];
|
|
4790
4816
|
}
|
|
4791
4817
|
_this.button.title = text;
|
|
4818
|
+
_this.toolsService.needsCheck.next();
|
|
4792
4819
|
});
|
|
4820
|
+
}
|
|
4821
|
+
EditorCommandBase.prototype.ngOnInit = function () {
|
|
4822
|
+
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
4823
|
+
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
4824
|
+
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
4793
4825
|
};
|
|
4794
4826
|
EditorCommandBase.prototype.ngOnDestroy = function () {
|
|
4795
4827
|
if (this.subs) {
|
|
@@ -4810,12 +4842,13 @@ var EditorCommandBase = /** @class */ (function () {
|
|
|
4810
4842
|
*/
|
|
4811
4843
|
var EditorCommandButton = /** @class */ (function (_super) {
|
|
4812
4844
|
__extends(EditorCommandButton, _super);
|
|
4813
|
-
function EditorCommandButton(command, button, editor, localization) {
|
|
4814
|
-
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;
|
|
4815
4847
|
_this.command = command;
|
|
4816
4848
|
_this.button = button;
|
|
4817
4849
|
_this.editor = editor;
|
|
4818
4850
|
_this.localization = localization;
|
|
4851
|
+
_this.toolsService = toolsService;
|
|
4819
4852
|
return _this;
|
|
4820
4853
|
}
|
|
4821
4854
|
EditorCommandButton.prototype.clickHandler = function () {
|
|
@@ -4852,8 +4885,8 @@ var EditorCommandButton = /** @class */ (function (_super) {
|
|
|
4852
4885
|
*/
|
|
4853
4886
|
var EditorAlignLeftButtonDirective = /** @class */ (function (_super) {
|
|
4854
4887
|
__extends(EditorAlignLeftButtonDirective, _super);
|
|
4855
|
-
function EditorAlignLeftButtonDirective(button, editor, localization) {
|
|
4856
|
-
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;
|
|
4857
4890
|
}
|
|
4858
4891
|
EditorAlignLeftButtonDirective = __decorate([
|
|
4859
4892
|
Directive({
|
|
@@ -4862,7 +4895,8 @@ var EditorAlignLeftButtonDirective = /** @class */ (function (_super) {
|
|
|
4862
4895
|
__param(1, Host()),
|
|
4863
4896
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4864
4897
|
EditorComponent,
|
|
4865
|
-
EditorLocalizationService
|
|
4898
|
+
EditorLocalizationService,
|
|
4899
|
+
EditorToolsService])
|
|
4866
4900
|
], EditorAlignLeftButtonDirective);
|
|
4867
4901
|
return EditorAlignLeftButtonDirective;
|
|
4868
4902
|
}(EditorCommandButton));
|
|
@@ -4887,8 +4921,8 @@ var EditorAlignLeftButtonDirective = /** @class */ (function (_super) {
|
|
|
4887
4921
|
*/
|
|
4888
4922
|
var EditorAlignCenterButtonDirective = /** @class */ (function (_super) {
|
|
4889
4923
|
__extends(EditorAlignCenterButtonDirective, _super);
|
|
4890
|
-
function EditorAlignCenterButtonDirective(button, editor, localization) {
|
|
4891
|
-
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;
|
|
4892
4926
|
}
|
|
4893
4927
|
EditorAlignCenterButtonDirective = __decorate([
|
|
4894
4928
|
Directive({
|
|
@@ -4897,7 +4931,8 @@ var EditorAlignCenterButtonDirective = /** @class */ (function (_super) {
|
|
|
4897
4931
|
__param(1, Host()),
|
|
4898
4932
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4899
4933
|
EditorComponent,
|
|
4900
|
-
EditorLocalizationService
|
|
4934
|
+
EditorLocalizationService,
|
|
4935
|
+
EditorToolsService])
|
|
4901
4936
|
], EditorAlignCenterButtonDirective);
|
|
4902
4937
|
return EditorAlignCenterButtonDirective;
|
|
4903
4938
|
}(EditorCommandButton));
|
|
@@ -4922,8 +4957,8 @@ var EditorAlignCenterButtonDirective = /** @class */ (function (_super) {
|
|
|
4922
4957
|
*/
|
|
4923
4958
|
var EditorAlignRightButtonDirective = /** @class */ (function (_super) {
|
|
4924
4959
|
__extends(EditorAlignRightButtonDirective, _super);
|
|
4925
|
-
function EditorAlignRightButtonDirective(button, editor, localization) {
|
|
4926
|
-
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;
|
|
4927
4962
|
}
|
|
4928
4963
|
EditorAlignRightButtonDirective = __decorate([
|
|
4929
4964
|
Directive({
|
|
@@ -4932,7 +4967,8 @@ var EditorAlignRightButtonDirective = /** @class */ (function (_super) {
|
|
|
4932
4967
|
__param(1, Host()),
|
|
4933
4968
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4934
4969
|
EditorComponent,
|
|
4935
|
-
EditorLocalizationService
|
|
4970
|
+
EditorLocalizationService,
|
|
4971
|
+
EditorToolsService])
|
|
4936
4972
|
], EditorAlignRightButtonDirective);
|
|
4937
4973
|
return EditorAlignRightButtonDirective;
|
|
4938
4974
|
}(EditorCommandButton));
|
|
@@ -4957,8 +4993,8 @@ var EditorAlignRightButtonDirective = /** @class */ (function (_super) {
|
|
|
4957
4993
|
*/
|
|
4958
4994
|
var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
|
|
4959
4995
|
__extends(EditorAlignJustifyButtonDirective, _super);
|
|
4960
|
-
function EditorAlignJustifyButtonDirective(button, editor, localization) {
|
|
4961
|
-
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;
|
|
4962
4998
|
}
|
|
4963
4999
|
EditorAlignJustifyButtonDirective = __decorate([
|
|
4964
5000
|
Directive({
|
|
@@ -4967,7 +5003,8 @@ var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
|
|
|
4967
5003
|
__param(1, Host()),
|
|
4968
5004
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
4969
5005
|
EditorComponent,
|
|
4970
|
-
EditorLocalizationService
|
|
5006
|
+
EditorLocalizationService,
|
|
5007
|
+
EditorToolsService])
|
|
4971
5008
|
], EditorAlignJustifyButtonDirective);
|
|
4972
5009
|
return EditorAlignJustifyButtonDirective;
|
|
4973
5010
|
}(EditorCommandButton));
|
|
@@ -4992,8 +5029,8 @@ var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
|
|
|
4992
5029
|
*/
|
|
4993
5030
|
var EditorRedoButtonDirective = /** @class */ (function (_super) {
|
|
4994
5031
|
__extends(EditorRedoButtonDirective, _super);
|
|
4995
|
-
function EditorRedoButtonDirective(button, editor, localization) {
|
|
4996
|
-
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;
|
|
4997
5034
|
}
|
|
4998
5035
|
EditorRedoButtonDirective = __decorate([
|
|
4999
5036
|
Directive({
|
|
@@ -5002,7 +5039,8 @@ var EditorRedoButtonDirective = /** @class */ (function (_super) {
|
|
|
5002
5039
|
__param(1, Host()),
|
|
5003
5040
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5004
5041
|
EditorComponent,
|
|
5005
|
-
EditorLocalizationService
|
|
5042
|
+
EditorLocalizationService,
|
|
5043
|
+
EditorToolsService])
|
|
5006
5044
|
], EditorRedoButtonDirective);
|
|
5007
5045
|
return EditorRedoButtonDirective;
|
|
5008
5046
|
}(EditorCommandButton));
|
|
@@ -5027,8 +5065,8 @@ var EditorRedoButtonDirective = /** @class */ (function (_super) {
|
|
|
5027
5065
|
*/
|
|
5028
5066
|
var EditorUndoButtonDirective = /** @class */ (function (_super) {
|
|
5029
5067
|
__extends(EditorUndoButtonDirective, _super);
|
|
5030
|
-
function EditorUndoButtonDirective(button, editor, localization) {
|
|
5031
|
-
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;
|
|
5032
5070
|
}
|
|
5033
5071
|
EditorUndoButtonDirective = __decorate([
|
|
5034
5072
|
Directive({
|
|
@@ -5037,7 +5075,8 @@ var EditorUndoButtonDirective = /** @class */ (function (_super) {
|
|
|
5037
5075
|
__param(1, Host()),
|
|
5038
5076
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5039
5077
|
EditorComponent,
|
|
5040
|
-
EditorLocalizationService
|
|
5078
|
+
EditorLocalizationService,
|
|
5079
|
+
EditorToolsService])
|
|
5041
5080
|
], EditorUndoButtonDirective);
|
|
5042
5081
|
return EditorUndoButtonDirective;
|
|
5043
5082
|
}(EditorCommandButton));
|
|
@@ -5047,12 +5086,13 @@ var EditorUndoButtonDirective = /** @class */ (function (_super) {
|
|
|
5047
5086
|
*/
|
|
5048
5087
|
var EditorCommandDialog = /** @class */ (function (_super) {
|
|
5049
5088
|
__extends(EditorCommandDialog, _super);
|
|
5050
|
-
function EditorCommandDialog(dialog, button, editor, localization) {
|
|
5051
|
-
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;
|
|
5052
5091
|
_this.dialog = dialog;
|
|
5053
5092
|
_this.button = button;
|
|
5054
5093
|
_this.editor = editor;
|
|
5055
5094
|
_this.localization = localization;
|
|
5095
|
+
_this.toolsService = toolsService;
|
|
5056
5096
|
return _this;
|
|
5057
5097
|
}
|
|
5058
5098
|
EditorCommandDialog.prototype.clickHandler = function () {
|
|
@@ -5084,8 +5124,8 @@ var EditorCommandDialog = /** @class */ (function (_super) {
|
|
|
5084
5124
|
*/
|
|
5085
5125
|
var EditorInsertImageButtonDirective = /** @class */ (function (_super) {
|
|
5086
5126
|
__extends(EditorInsertImageButtonDirective, _super);
|
|
5087
|
-
function EditorInsertImageButtonDirective(button, editor, localization) {
|
|
5088
|
-
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;
|
|
5089
5129
|
}
|
|
5090
5130
|
EditorInsertImageButtonDirective = __decorate([
|
|
5091
5131
|
Directive({
|
|
@@ -5094,7 +5134,8 @@ var EditorInsertImageButtonDirective = /** @class */ (function (_super) {
|
|
|
5094
5134
|
__param(1, Host()),
|
|
5095
5135
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5096
5136
|
EditorComponent,
|
|
5097
|
-
EditorLocalizationService
|
|
5137
|
+
EditorLocalizationService,
|
|
5138
|
+
EditorToolsService])
|
|
5098
5139
|
], EditorInsertImageButtonDirective);
|
|
5099
5140
|
return EditorInsertImageButtonDirective;
|
|
5100
5141
|
}(EditorCommandDialog));
|
|
@@ -5119,8 +5160,8 @@ var EditorInsertImageButtonDirective = /** @class */ (function (_super) {
|
|
|
5119
5160
|
*/
|
|
5120
5161
|
var EditorIndentButtonDirective = /** @class */ (function (_super) {
|
|
5121
5162
|
__extends(EditorIndentButtonDirective, _super);
|
|
5122
|
-
function EditorIndentButtonDirective(button, editor, localization) {
|
|
5123
|
-
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;
|
|
5124
5165
|
}
|
|
5125
5166
|
EditorIndentButtonDirective = __decorate([
|
|
5126
5167
|
Directive({
|
|
@@ -5129,7 +5170,8 @@ var EditorIndentButtonDirective = /** @class */ (function (_super) {
|
|
|
5129
5170
|
__param(1, Host()),
|
|
5130
5171
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5131
5172
|
EditorComponent,
|
|
5132
|
-
EditorLocalizationService
|
|
5173
|
+
EditorLocalizationService,
|
|
5174
|
+
EditorToolsService])
|
|
5133
5175
|
], EditorIndentButtonDirective);
|
|
5134
5176
|
return EditorIndentButtonDirective;
|
|
5135
5177
|
}(EditorCommandButton));
|
|
@@ -5154,8 +5196,8 @@ var EditorIndentButtonDirective = /** @class */ (function (_super) {
|
|
|
5154
5196
|
*/
|
|
5155
5197
|
var EditorOutdentButtonDirective = /** @class */ (function (_super) {
|
|
5156
5198
|
__extends(EditorOutdentButtonDirective, _super);
|
|
5157
|
-
function EditorOutdentButtonDirective(button, editor, localization) {
|
|
5158
|
-
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;
|
|
5159
5201
|
}
|
|
5160
5202
|
EditorOutdentButtonDirective = __decorate([
|
|
5161
5203
|
Directive({
|
|
@@ -5164,7 +5206,8 @@ var EditorOutdentButtonDirective = /** @class */ (function (_super) {
|
|
|
5164
5206
|
__param(1, Host()),
|
|
5165
5207
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5166
5208
|
EditorComponent,
|
|
5167
|
-
EditorLocalizationService
|
|
5209
|
+
EditorLocalizationService,
|
|
5210
|
+
EditorToolsService])
|
|
5168
5211
|
], EditorOutdentButtonDirective);
|
|
5169
5212
|
return EditorOutdentButtonDirective;
|
|
5170
5213
|
}(EditorCommandButton));
|
|
@@ -5189,8 +5232,8 @@ var EditorOutdentButtonDirective = /** @class */ (function (_super) {
|
|
|
5189
5232
|
*/
|
|
5190
5233
|
var EditorCreateLinkButtonDirective = /** @class */ (function (_super) {
|
|
5191
5234
|
__extends(EditorCreateLinkButtonDirective, _super);
|
|
5192
|
-
function EditorCreateLinkButtonDirective(button, editor, localization) {
|
|
5193
|
-
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;
|
|
5194
5237
|
}
|
|
5195
5238
|
EditorCreateLinkButtonDirective = __decorate([
|
|
5196
5239
|
Directive({
|
|
@@ -5199,7 +5242,8 @@ var EditorCreateLinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5199
5242
|
__param(1, Host()),
|
|
5200
5243
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5201
5244
|
EditorComponent,
|
|
5202
|
-
EditorLocalizationService
|
|
5245
|
+
EditorLocalizationService,
|
|
5246
|
+
EditorToolsService])
|
|
5203
5247
|
], EditorCreateLinkButtonDirective);
|
|
5204
5248
|
return EditorCreateLinkButtonDirective;
|
|
5205
5249
|
}(EditorCommandDialog));
|
|
@@ -5224,8 +5268,8 @@ var EditorCreateLinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5224
5268
|
*/
|
|
5225
5269
|
var EditorUnlinkButtonDirective = /** @class */ (function (_super) {
|
|
5226
5270
|
__extends(EditorUnlinkButtonDirective, _super);
|
|
5227
|
-
function EditorUnlinkButtonDirective(button, editor, localization) {
|
|
5228
|
-
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;
|
|
5229
5273
|
}
|
|
5230
5274
|
EditorUnlinkButtonDirective = __decorate([
|
|
5231
5275
|
Directive({
|
|
@@ -5234,7 +5278,8 @@ var EditorUnlinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5234
5278
|
__param(1, Host()),
|
|
5235
5279
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5236
5280
|
EditorComponent,
|
|
5237
|
-
EditorLocalizationService
|
|
5281
|
+
EditorLocalizationService,
|
|
5282
|
+
EditorToolsService])
|
|
5238
5283
|
], EditorUnlinkButtonDirective);
|
|
5239
5284
|
return EditorUnlinkButtonDirective;
|
|
5240
5285
|
}(EditorCommandButton));
|
|
@@ -5259,8 +5304,8 @@ var EditorUnlinkButtonDirective = /** @class */ (function (_super) {
|
|
|
5259
5304
|
*/
|
|
5260
5305
|
var EditorInsertOrderedListButtonDirective = /** @class */ (function (_super) {
|
|
5261
5306
|
__extends(EditorInsertOrderedListButtonDirective, _super);
|
|
5262
|
-
function EditorInsertOrderedListButtonDirective(button, editor, localization) {
|
|
5263
|
-
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;
|
|
5264
5309
|
}
|
|
5265
5310
|
EditorInsertOrderedListButtonDirective = __decorate([
|
|
5266
5311
|
Directive({
|
|
@@ -5269,7 +5314,8 @@ var EditorInsertOrderedListButtonDirective = /** @class */ (function (_super) {
|
|
|
5269
5314
|
__param(1, Host()),
|
|
5270
5315
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5271
5316
|
EditorComponent,
|
|
5272
|
-
EditorLocalizationService
|
|
5317
|
+
EditorLocalizationService,
|
|
5318
|
+
EditorToolsService])
|
|
5273
5319
|
], EditorInsertOrderedListButtonDirective);
|
|
5274
5320
|
return EditorInsertOrderedListButtonDirective;
|
|
5275
5321
|
}(EditorCommandButton));
|
|
@@ -5294,8 +5340,8 @@ var EditorInsertOrderedListButtonDirective = /** @class */ (function (_super) {
|
|
|
5294
5340
|
*/
|
|
5295
5341
|
var EditorInsertUnorderedListButtonDirective = /** @class */ (function (_super) {
|
|
5296
5342
|
__extends(EditorInsertUnorderedListButtonDirective, _super);
|
|
5297
|
-
function EditorInsertUnorderedListButtonDirective(button, editor, localization) {
|
|
5298
|
-
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;
|
|
5299
5345
|
}
|
|
5300
5346
|
EditorInsertUnorderedListButtonDirective = __decorate([
|
|
5301
5347
|
Directive({
|
|
@@ -5304,7 +5350,8 @@ var EditorInsertUnorderedListButtonDirective = /** @class */ (function (_super)
|
|
|
5304
5350
|
__param(1, Host()),
|
|
5305
5351
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5306
5352
|
EditorComponent,
|
|
5307
|
-
EditorLocalizationService
|
|
5353
|
+
EditorLocalizationService,
|
|
5354
|
+
EditorToolsService])
|
|
5308
5355
|
], EditorInsertUnorderedListButtonDirective);
|
|
5309
5356
|
return EditorInsertUnorderedListButtonDirective;
|
|
5310
5357
|
}(EditorCommandButton));
|
|
@@ -5328,8 +5375,8 @@ var EditorInsertUnorderedListButtonDirective = /** @class */ (function (_super)
|
|
|
5328
5375
|
*/
|
|
5329
5376
|
var EditorViewSourceButtonDirective = /** @class */ (function (_super) {
|
|
5330
5377
|
__extends(EditorViewSourceButtonDirective, _super);
|
|
5331
|
-
function EditorViewSourceButtonDirective(button, editor, localization) {
|
|
5332
|
-
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;
|
|
5333
5380
|
}
|
|
5334
5381
|
EditorViewSourceButtonDirective = __decorate([
|
|
5335
5382
|
Directive({
|
|
@@ -5338,7 +5385,8 @@ var EditorViewSourceButtonDirective = /** @class */ (function (_super) {
|
|
|
5338
5385
|
__param(1, Host()),
|
|
5339
5386
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5340
5387
|
EditorComponent,
|
|
5341
|
-
EditorLocalizationService
|
|
5388
|
+
EditorLocalizationService,
|
|
5389
|
+
EditorToolsService])
|
|
5342
5390
|
], EditorViewSourceButtonDirective);
|
|
5343
5391
|
return EditorViewSourceButtonDirective;
|
|
5344
5392
|
}(EditorCommandDialog));
|
|
@@ -5363,8 +5411,8 @@ var EditorViewSourceButtonDirective = /** @class */ (function (_super) {
|
|
|
5363
5411
|
*/
|
|
5364
5412
|
var EditorBoldButtonDirective = /** @class */ (function (_super) {
|
|
5365
5413
|
__extends(EditorBoldButtonDirective, _super);
|
|
5366
|
-
function EditorBoldButtonDirective(button, editor, localization) {
|
|
5367
|
-
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;
|
|
5368
5416
|
}
|
|
5369
5417
|
EditorBoldButtonDirective = __decorate([
|
|
5370
5418
|
Directive({
|
|
@@ -5373,7 +5421,8 @@ var EditorBoldButtonDirective = /** @class */ (function (_super) {
|
|
|
5373
5421
|
__param(1, Host()),
|
|
5374
5422
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5375
5423
|
EditorComponent,
|
|
5376
|
-
EditorLocalizationService
|
|
5424
|
+
EditorLocalizationService,
|
|
5425
|
+
EditorToolsService])
|
|
5377
5426
|
], EditorBoldButtonDirective);
|
|
5378
5427
|
return EditorBoldButtonDirective;
|
|
5379
5428
|
}(EditorCommandButton));
|
|
@@ -5398,8 +5447,8 @@ var EditorBoldButtonDirective = /** @class */ (function (_super) {
|
|
|
5398
5447
|
*/
|
|
5399
5448
|
var EditorItalicButtonDirective = /** @class */ (function (_super) {
|
|
5400
5449
|
__extends(EditorItalicButtonDirective, _super);
|
|
5401
|
-
function EditorItalicButtonDirective(button, editor, localization) {
|
|
5402
|
-
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;
|
|
5403
5452
|
}
|
|
5404
5453
|
EditorItalicButtonDirective = __decorate([
|
|
5405
5454
|
Directive({
|
|
@@ -5408,7 +5457,8 @@ var EditorItalicButtonDirective = /** @class */ (function (_super) {
|
|
|
5408
5457
|
__param(1, Host()),
|
|
5409
5458
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5410
5459
|
EditorComponent,
|
|
5411
|
-
EditorLocalizationService
|
|
5460
|
+
EditorLocalizationService,
|
|
5461
|
+
EditorToolsService])
|
|
5412
5462
|
], EditorItalicButtonDirective);
|
|
5413
5463
|
return EditorItalicButtonDirective;
|
|
5414
5464
|
}(EditorCommandButton));
|
|
@@ -5433,8 +5483,8 @@ var EditorItalicButtonDirective = /** @class */ (function (_super) {
|
|
|
5433
5483
|
*/
|
|
5434
5484
|
var EditorUnderlineButtonDirective = /** @class */ (function (_super) {
|
|
5435
5485
|
__extends(EditorUnderlineButtonDirective, _super);
|
|
5436
|
-
function EditorUnderlineButtonDirective(button, editor, localization) {
|
|
5437
|
-
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;
|
|
5438
5488
|
}
|
|
5439
5489
|
EditorUnderlineButtonDirective = __decorate([
|
|
5440
5490
|
Directive({
|
|
@@ -5443,7 +5493,8 @@ var EditorUnderlineButtonDirective = /** @class */ (function (_super) {
|
|
|
5443
5493
|
__param(1, Host()),
|
|
5444
5494
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5445
5495
|
EditorComponent,
|
|
5446
|
-
EditorLocalizationService
|
|
5496
|
+
EditorLocalizationService,
|
|
5497
|
+
EditorToolsService])
|
|
5447
5498
|
], EditorUnderlineButtonDirective);
|
|
5448
5499
|
return EditorUnderlineButtonDirective;
|
|
5449
5500
|
}(EditorCommandButton));
|
|
@@ -5468,8 +5519,8 @@ var EditorUnderlineButtonDirective = /** @class */ (function (_super) {
|
|
|
5468
5519
|
*/
|
|
5469
5520
|
var EditorStrikethroughButtonDirective = /** @class */ (function (_super) {
|
|
5470
5521
|
__extends(EditorStrikethroughButtonDirective, _super);
|
|
5471
|
-
function EditorStrikethroughButtonDirective(button, editor, localization) {
|
|
5472
|
-
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;
|
|
5473
5524
|
}
|
|
5474
5525
|
EditorStrikethroughButtonDirective = __decorate([
|
|
5475
5526
|
Directive({
|
|
@@ -5478,7 +5529,8 @@ var EditorStrikethroughButtonDirective = /** @class */ (function (_super) {
|
|
|
5478
5529
|
__param(1, Host()),
|
|
5479
5530
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5480
5531
|
EditorComponent,
|
|
5481
|
-
EditorLocalizationService
|
|
5532
|
+
EditorLocalizationService,
|
|
5533
|
+
EditorToolsService])
|
|
5482
5534
|
], EditorStrikethroughButtonDirective);
|
|
5483
5535
|
return EditorStrikethroughButtonDirective;
|
|
5484
5536
|
}(EditorCommandButton));
|
|
@@ -5503,8 +5555,8 @@ var EditorStrikethroughButtonDirective = /** @class */ (function (_super) {
|
|
|
5503
5555
|
*/
|
|
5504
5556
|
var EditorSubscriptButtonDirective = /** @class */ (function (_super) {
|
|
5505
5557
|
__extends(EditorSubscriptButtonDirective, _super);
|
|
5506
|
-
function EditorSubscriptButtonDirective(button, editor, localization) {
|
|
5507
|
-
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;
|
|
5508
5560
|
}
|
|
5509
5561
|
EditorSubscriptButtonDirective = __decorate([
|
|
5510
5562
|
Directive({
|
|
@@ -5513,7 +5565,8 @@ var EditorSubscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5513
5565
|
__param(1, Host()),
|
|
5514
5566
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5515
5567
|
EditorComponent,
|
|
5516
|
-
EditorLocalizationService
|
|
5568
|
+
EditorLocalizationService,
|
|
5569
|
+
EditorToolsService])
|
|
5517
5570
|
], EditorSubscriptButtonDirective);
|
|
5518
5571
|
return EditorSubscriptButtonDirective;
|
|
5519
5572
|
}(EditorCommandButton));
|
|
@@ -5538,8 +5591,8 @@ var EditorSubscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5538
5591
|
*/
|
|
5539
5592
|
var EditorSuperscriptButtonDirective = /** @class */ (function (_super) {
|
|
5540
5593
|
__extends(EditorSuperscriptButtonDirective, _super);
|
|
5541
|
-
function EditorSuperscriptButtonDirective(button, editor, localization) {
|
|
5542
|
-
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;
|
|
5543
5596
|
}
|
|
5544
5597
|
EditorSuperscriptButtonDirective = __decorate([
|
|
5545
5598
|
Directive({
|
|
@@ -5548,7 +5601,8 @@ var EditorSuperscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5548
5601
|
__param(1, Host()),
|
|
5549
5602
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5550
5603
|
EditorComponent,
|
|
5551
|
-
EditorLocalizationService
|
|
5604
|
+
EditorLocalizationService,
|
|
5605
|
+
EditorToolsService])
|
|
5552
5606
|
], EditorSuperscriptButtonDirective);
|
|
5553
5607
|
return EditorSuperscriptButtonDirective;
|
|
5554
5608
|
}(EditorCommandButton));
|
|
@@ -5565,8 +5619,8 @@ var EditorSuperscriptButtonDirective = /** @class */ (function (_super) {
|
|
|
5565
5619
|
*/
|
|
5566
5620
|
var EditorInsertFileButtonDirective = /** @class */ (function (_super) {
|
|
5567
5621
|
__extends(EditorInsertFileButtonDirective, _super);
|
|
5568
|
-
function EditorInsertFileButtonDirective(button, editor, localization) {
|
|
5569
|
-
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;
|
|
5570
5624
|
}
|
|
5571
5625
|
EditorInsertFileButtonDirective = __decorate([
|
|
5572
5626
|
Directive({
|
|
@@ -5575,7 +5629,8 @@ var EditorInsertFileButtonDirective = /** @class */ (function (_super) {
|
|
|
5575
5629
|
__param(1, Host()),
|
|
5576
5630
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5577
5631
|
EditorComponent,
|
|
5578
|
-
EditorLocalizationService
|
|
5632
|
+
EditorLocalizationService,
|
|
5633
|
+
EditorToolsService])
|
|
5579
5634
|
], EditorInsertFileButtonDirective);
|
|
5580
5635
|
return EditorInsertFileButtonDirective;
|
|
5581
5636
|
}(EditorCommandDialog));
|
|
@@ -5639,8 +5694,8 @@ var EditorBackColorDirective = /** @class */ (function () {
|
|
|
5639
5694
|
*/
|
|
5640
5695
|
var EditorCleanFormattingButtonDirective = /** @class */ (function (_super) {
|
|
5641
5696
|
__extends(EditorCleanFormattingButtonDirective, _super);
|
|
5642
|
-
function EditorCleanFormattingButtonDirective(button, editor, localization) {
|
|
5643
|
-
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;
|
|
5644
5699
|
}
|
|
5645
5700
|
EditorCleanFormattingButtonDirective = __decorate([
|
|
5646
5701
|
Directive({
|
|
@@ -5649,7 +5704,8 @@ var EditorCleanFormattingButtonDirective = /** @class */ (function (_super) {
|
|
|
5649
5704
|
__param(1, Host()),
|
|
5650
5705
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5651
5706
|
EditorComponent,
|
|
5652
|
-
EditorLocalizationService
|
|
5707
|
+
EditorLocalizationService,
|
|
5708
|
+
EditorToolsService])
|
|
5653
5709
|
], EditorCleanFormattingButtonDirective);
|
|
5654
5710
|
return EditorCleanFormattingButtonDirective;
|
|
5655
5711
|
}(EditorCommandButton));
|
|
@@ -5667,8 +5723,8 @@ var EditorCleanFormattingButtonDirective = /** @class */ (function (_super) {
|
|
|
5667
5723
|
*/
|
|
5668
5724
|
var EditorAddColumnBeforeButtonDirective = /** @class */ (function (_super) {
|
|
5669
5725
|
__extends(EditorAddColumnBeforeButtonDirective, _super);
|
|
5670
|
-
function EditorAddColumnBeforeButtonDirective(button, editor, localization) {
|
|
5671
|
-
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;
|
|
5672
5728
|
}
|
|
5673
5729
|
EditorAddColumnBeforeButtonDirective = __decorate([
|
|
5674
5730
|
Directive({
|
|
@@ -5677,7 +5733,8 @@ var EditorAddColumnBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5677
5733
|
__param(1, Host()),
|
|
5678
5734
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5679
5735
|
EditorComponent,
|
|
5680
|
-
EditorLocalizationService
|
|
5736
|
+
EditorLocalizationService,
|
|
5737
|
+
EditorToolsService])
|
|
5681
5738
|
], EditorAddColumnBeforeButtonDirective);
|
|
5682
5739
|
return EditorAddColumnBeforeButtonDirective;
|
|
5683
5740
|
}(EditorCommandButton));
|
|
@@ -5695,8 +5752,8 @@ var EditorAddColumnBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5695
5752
|
*/
|
|
5696
5753
|
var EditorAddColumnAfterButtonDirective = /** @class */ (function (_super) {
|
|
5697
5754
|
__extends(EditorAddColumnAfterButtonDirective, _super);
|
|
5698
|
-
function EditorAddColumnAfterButtonDirective(button, editor, localization) {
|
|
5699
|
-
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;
|
|
5700
5757
|
}
|
|
5701
5758
|
EditorAddColumnAfterButtonDirective = __decorate([
|
|
5702
5759
|
Directive({
|
|
@@ -5705,7 +5762,8 @@ var EditorAddColumnAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5705
5762
|
__param(1, Host()),
|
|
5706
5763
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5707
5764
|
EditorComponent,
|
|
5708
|
-
EditorLocalizationService
|
|
5765
|
+
EditorLocalizationService,
|
|
5766
|
+
EditorToolsService])
|
|
5709
5767
|
], EditorAddColumnAfterButtonDirective);
|
|
5710
5768
|
return EditorAddColumnAfterButtonDirective;
|
|
5711
5769
|
}(EditorCommandButton));
|
|
@@ -5723,8 +5781,8 @@ var EditorAddColumnAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5723
5781
|
*/
|
|
5724
5782
|
var EditorAddRowBeforeButtonDirective = /** @class */ (function (_super) {
|
|
5725
5783
|
__extends(EditorAddRowBeforeButtonDirective, _super);
|
|
5726
|
-
function EditorAddRowBeforeButtonDirective(button, editor, localization) {
|
|
5727
|
-
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;
|
|
5728
5786
|
}
|
|
5729
5787
|
EditorAddRowBeforeButtonDirective = __decorate([
|
|
5730
5788
|
Directive({
|
|
@@ -5733,7 +5791,8 @@ var EditorAddRowBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5733
5791
|
__param(1, Host()),
|
|
5734
5792
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5735
5793
|
EditorComponent,
|
|
5736
|
-
EditorLocalizationService
|
|
5794
|
+
EditorLocalizationService,
|
|
5795
|
+
EditorToolsService])
|
|
5737
5796
|
], EditorAddRowBeforeButtonDirective);
|
|
5738
5797
|
return EditorAddRowBeforeButtonDirective;
|
|
5739
5798
|
}(EditorCommandButton));
|
|
@@ -5751,8 +5810,8 @@ var EditorAddRowBeforeButtonDirective = /** @class */ (function (_super) {
|
|
|
5751
5810
|
*/
|
|
5752
5811
|
var EditorAddRowAfterButtonDirective = /** @class */ (function (_super) {
|
|
5753
5812
|
__extends(EditorAddRowAfterButtonDirective, _super);
|
|
5754
|
-
function EditorAddRowAfterButtonDirective(button, editor, localization) {
|
|
5755
|
-
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;
|
|
5756
5815
|
}
|
|
5757
5816
|
EditorAddRowAfterButtonDirective = __decorate([
|
|
5758
5817
|
Directive({
|
|
@@ -5761,7 +5820,8 @@ var EditorAddRowAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5761
5820
|
__param(1, Host()),
|
|
5762
5821
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5763
5822
|
EditorComponent,
|
|
5764
|
-
EditorLocalizationService
|
|
5823
|
+
EditorLocalizationService,
|
|
5824
|
+
EditorToolsService])
|
|
5765
5825
|
], EditorAddRowAfterButtonDirective);
|
|
5766
5826
|
return EditorAddRowAfterButtonDirective;
|
|
5767
5827
|
}(EditorCommandButton));
|
|
@@ -5779,8 +5839,8 @@ var EditorAddRowAfterButtonDirective = /** @class */ (function (_super) {
|
|
|
5779
5839
|
*/
|
|
5780
5840
|
var EditorDeleteColumnButtonDirective = /** @class */ (function (_super) {
|
|
5781
5841
|
__extends(EditorDeleteColumnButtonDirective, _super);
|
|
5782
|
-
function EditorDeleteColumnButtonDirective(button, editor, localization) {
|
|
5783
|
-
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;
|
|
5784
5844
|
}
|
|
5785
5845
|
EditorDeleteColumnButtonDirective = __decorate([
|
|
5786
5846
|
Directive({
|
|
@@ -5789,7 +5849,8 @@ var EditorDeleteColumnButtonDirective = /** @class */ (function (_super) {
|
|
|
5789
5849
|
__param(1, Host()),
|
|
5790
5850
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5791
5851
|
EditorComponent,
|
|
5792
|
-
EditorLocalizationService
|
|
5852
|
+
EditorLocalizationService,
|
|
5853
|
+
EditorToolsService])
|
|
5793
5854
|
], EditorDeleteColumnButtonDirective);
|
|
5794
5855
|
return EditorDeleteColumnButtonDirective;
|
|
5795
5856
|
}(EditorCommandButton));
|
|
@@ -5807,8 +5868,8 @@ var EditorDeleteColumnButtonDirective = /** @class */ (function (_super) {
|
|
|
5807
5868
|
*/
|
|
5808
5869
|
var EditorDeleteRowButtonDirective = /** @class */ (function (_super) {
|
|
5809
5870
|
__extends(EditorDeleteRowButtonDirective, _super);
|
|
5810
|
-
function EditorDeleteRowButtonDirective(button, editor, localization) {
|
|
5811
|
-
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;
|
|
5812
5873
|
}
|
|
5813
5874
|
EditorDeleteRowButtonDirective = __decorate([
|
|
5814
5875
|
Directive({
|
|
@@ -5817,7 +5878,8 @@ var EditorDeleteRowButtonDirective = /** @class */ (function (_super) {
|
|
|
5817
5878
|
__param(1, Host()),
|
|
5818
5879
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5819
5880
|
EditorComponent,
|
|
5820
|
-
EditorLocalizationService
|
|
5881
|
+
EditorLocalizationService,
|
|
5882
|
+
EditorToolsService])
|
|
5821
5883
|
], EditorDeleteRowButtonDirective);
|
|
5822
5884
|
return EditorDeleteRowButtonDirective;
|
|
5823
5885
|
}(EditorCommandButton));
|
|
@@ -5835,8 +5897,8 @@ var EditorDeleteRowButtonDirective = /** @class */ (function (_super) {
|
|
|
5835
5897
|
*/
|
|
5836
5898
|
var EditorDeleteTableButtonDirective = /** @class */ (function (_super) {
|
|
5837
5899
|
__extends(EditorDeleteTableButtonDirective, _super);
|
|
5838
|
-
function EditorDeleteTableButtonDirective(button, editor, localization) {
|
|
5839
|
-
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;
|
|
5840
5902
|
}
|
|
5841
5903
|
EditorDeleteTableButtonDirective = __decorate([
|
|
5842
5904
|
Directive({
|
|
@@ -5845,7 +5907,8 @@ var EditorDeleteTableButtonDirective = /** @class */ (function (_super) {
|
|
|
5845
5907
|
__param(1, Host()),
|
|
5846
5908
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5847
5909
|
EditorComponent,
|
|
5848
|
-
EditorLocalizationService
|
|
5910
|
+
EditorLocalizationService,
|
|
5911
|
+
EditorToolsService])
|
|
5849
5912
|
], EditorDeleteTableButtonDirective);
|
|
5850
5913
|
return EditorDeleteTableButtonDirective;
|
|
5851
5914
|
}(EditorCommandButton));
|
|
@@ -5865,8 +5928,8 @@ var EditorDeleteTableButtonDirective = /** @class */ (function (_super) {
|
|
|
5865
5928
|
*/
|
|
5866
5929
|
var EditorMergeCellsButtonDirective = /** @class */ (function (_super) {
|
|
5867
5930
|
__extends(EditorMergeCellsButtonDirective, _super);
|
|
5868
|
-
function EditorMergeCellsButtonDirective(button, editor, localization) {
|
|
5869
|
-
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;
|
|
5870
5933
|
}
|
|
5871
5934
|
EditorMergeCellsButtonDirective = __decorate([
|
|
5872
5935
|
Directive({
|
|
@@ -5875,7 +5938,8 @@ var EditorMergeCellsButtonDirective = /** @class */ (function (_super) {
|
|
|
5875
5938
|
__param(1, Host()),
|
|
5876
5939
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5877
5940
|
EditorComponent,
|
|
5878
|
-
EditorLocalizationService
|
|
5941
|
+
EditorLocalizationService,
|
|
5942
|
+
EditorToolsService])
|
|
5879
5943
|
], EditorMergeCellsButtonDirective);
|
|
5880
5944
|
return EditorMergeCellsButtonDirective;
|
|
5881
5945
|
}(EditorCommandButton));
|
|
@@ -5895,8 +5959,8 @@ var EditorMergeCellsButtonDirective = /** @class */ (function (_super) {
|
|
|
5895
5959
|
*/
|
|
5896
5960
|
var EditorSplitCellButtonDirective = /** @class */ (function (_super) {
|
|
5897
5961
|
__extends(EditorSplitCellButtonDirective, _super);
|
|
5898
|
-
function EditorSplitCellButtonDirective(button, editor, localization) {
|
|
5899
|
-
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;
|
|
5900
5964
|
}
|
|
5901
5965
|
EditorSplitCellButtonDirective = __decorate([
|
|
5902
5966
|
Directive({
|
|
@@ -5905,7 +5969,8 @@ var EditorSplitCellButtonDirective = /** @class */ (function (_super) {
|
|
|
5905
5969
|
__param(1, Host()),
|
|
5906
5970
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
5907
5971
|
EditorComponent,
|
|
5908
|
-
EditorLocalizationService
|
|
5972
|
+
EditorLocalizationService,
|
|
5973
|
+
EditorToolsService])
|
|
5909
5974
|
], EditorSplitCellButtonDirective);
|
|
5910
5975
|
return EditorSplitCellButtonDirective;
|
|
5911
5976
|
}(EditorCommandButton));
|
|
@@ -6243,8 +6308,8 @@ var DropDownToolDirective = /** @class */ (function () {
|
|
|
6243
6308
|
*/
|
|
6244
6309
|
var EditorPrintDirective = /** @class */ (function (_super) {
|
|
6245
6310
|
__extends(EditorPrintDirective, _super);
|
|
6246
|
-
function EditorPrintDirective(button, editor, localization) {
|
|
6247
|
-
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;
|
|
6248
6313
|
_this.editor = editor;
|
|
6249
6314
|
return _this;
|
|
6250
6315
|
}
|
|
@@ -6273,7 +6338,8 @@ var EditorPrintDirective = /** @class */ (function (_super) {
|
|
|
6273
6338
|
__param(1, Host()),
|
|
6274
6339
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6275
6340
|
EditorComponent,
|
|
6276
|
-
EditorLocalizationService
|
|
6341
|
+
EditorLocalizationService,
|
|
6342
|
+
EditorToolsService])
|
|
6277
6343
|
], EditorPrintDirective);
|
|
6278
6344
|
return EditorPrintDirective;
|
|
6279
6345
|
}(EditorCommandButton));
|
|
@@ -6297,8 +6363,8 @@ var EditorPrintDirective = /** @class */ (function (_super) {
|
|
|
6297
6363
|
*/
|
|
6298
6364
|
var EditorSelectAllButtonDirective = /** @class */ (function (_super) {
|
|
6299
6365
|
__extends(EditorSelectAllButtonDirective, _super);
|
|
6300
|
-
function EditorSelectAllButtonDirective(button, editor, localization) {
|
|
6301
|
-
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;
|
|
6302
6368
|
}
|
|
6303
6369
|
EditorSelectAllButtonDirective.prototype.clickHandler = function () {
|
|
6304
6370
|
this.editor.shouldEmitFocus = true;
|
|
@@ -6311,7 +6377,8 @@ var EditorSelectAllButtonDirective = /** @class */ (function (_super) {
|
|
|
6311
6377
|
__param(1, Host()),
|
|
6312
6378
|
__metadata("design:paramtypes", [ToolBarButtonComponent,
|
|
6313
6379
|
EditorComponent,
|
|
6314
|
-
EditorLocalizationService
|
|
6380
|
+
EditorLocalizationService,
|
|
6381
|
+
EditorToolsService])
|
|
6315
6382
|
], EditorSelectAllButtonDirective);
|
|
6316
6383
|
return EditorSelectAllButtonDirective;
|
|
6317
6384
|
}(EditorCommandButton));
|
|
@@ -6488,4 +6555,4 @@ var EditorModule = /** @class */ (function () {
|
|
|
6488
6555
|
* Generated bundle index. Do not edit.
|
|
6489
6556
|
*/
|
|
6490
6557
|
|
|
6491
|
-
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 };
|