@progress/kendo-angular-editor 2.5.0-dev.202111231749 → 2.5.0-dev.202111240844
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 +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/shared/editor-command-base.js +6 -8
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/tools/shared/editor-command-base.d.ts +0 -1
- package/dist/es2015/tools/shared/editor-command-base.js +5 -7
- package/dist/fesm2015/index.js +6 -8
- package/dist/fesm5/index.js +7 -9
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/shared/editor-command-base.js +6 -8
- package/dist/systemjs/kendo-angular-editor.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-editor',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1637743184,
|
|
13
13
|
version: '',
|
|
14
14
|
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'
|
|
15
15
|
};
|
|
@@ -18,7 +18,6 @@ export declare abstract class EditorCommandBase {
|
|
|
18
18
|
protected subs: Subscription;
|
|
19
19
|
constructor(command: DialogCommand | EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, editor: EditorComponent, localization: LocalizationService);
|
|
20
20
|
ngOnInit(): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
21
|
ngOnDestroy(): void;
|
|
23
22
|
protected clickHandler(): void;
|
|
24
23
|
protected pointerdownHandler(_event: PointerEvent): void;
|
|
@@ -12,13 +12,6 @@ export class EditorCommandBase {
|
|
|
12
12
|
this.button = button;
|
|
13
13
|
this.editor = editor;
|
|
14
14
|
this.localization = localization;
|
|
15
|
-
}
|
|
16
|
-
ngOnInit() {
|
|
17
|
-
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
18
|
-
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
19
|
-
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
20
|
-
}
|
|
21
|
-
ngAfterViewInit() {
|
|
22
15
|
setTimeout(() => {
|
|
23
16
|
const text = this.localization.get(this.command);
|
|
24
17
|
if (text) {
|
|
@@ -32,6 +25,11 @@ export class EditorCommandBase {
|
|
|
32
25
|
this.button.title = text;
|
|
33
26
|
});
|
|
34
27
|
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
30
|
+
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
31
|
+
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
32
|
+
}
|
|
35
33
|
ngOnDestroy() {
|
|
36
34
|
if (this.subs) {
|
|
37
35
|
this.subs.unsubscribe();
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -27,7 +27,7 @@ const packageMetadata = {
|
|
|
27
27
|
name: '@progress/kendo-angular-editor',
|
|
28
28
|
productName: 'Kendo UI for Angular',
|
|
29
29
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
30
|
-
publishDate:
|
|
30
|
+
publishDate: 1637743184,
|
|
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
|
};
|
|
@@ -5374,13 +5374,6 @@ class EditorCommandBase {
|
|
|
5374
5374
|
this.button = button;
|
|
5375
5375
|
this.editor = editor;
|
|
5376
5376
|
this.localization = localization;
|
|
5377
|
-
}
|
|
5378
|
-
ngOnInit() {
|
|
5379
|
-
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
5380
|
-
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
5381
|
-
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
5382
|
-
}
|
|
5383
|
-
ngAfterViewInit() {
|
|
5384
5377
|
setTimeout(() => {
|
|
5385
5378
|
const text = this.localization.get(this.command);
|
|
5386
5379
|
if (text) {
|
|
@@ -5394,6 +5387,11 @@ class EditorCommandBase {
|
|
|
5394
5387
|
this.button.title = text;
|
|
5395
5388
|
});
|
|
5396
5389
|
}
|
|
5390
|
+
ngOnInit() {
|
|
5391
|
+
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
5392
|
+
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
5393
|
+
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
5394
|
+
}
|
|
5397
5395
|
ngOnDestroy() {
|
|
5398
5396
|
if (this.subs) {
|
|
5399
5397
|
this.subs.unsubscribe();
|
package/dist/fesm5/index.js
CHANGED
|
@@ -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: 1637743184,
|
|
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
|
};
|
|
@@ -4766,18 +4766,11 @@ var commandIcons = {
|
|
|
4766
4766
|
*/
|
|
4767
4767
|
var EditorCommandBase = /** @class */ (function () {
|
|
4768
4768
|
function EditorCommandBase(command, button, editor, localization) {
|
|
4769
|
+
var _this = this;
|
|
4769
4770
|
this.command = command;
|
|
4770
4771
|
this.button = button;
|
|
4771
4772
|
this.editor = editor;
|
|
4772
4773
|
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;
|
|
4781
4774
|
setTimeout(function () {
|
|
4782
4775
|
var text = _this.localization.get(_this.command);
|
|
4783
4776
|
if (text) {
|
|
@@ -4790,6 +4783,11 @@ var EditorCommandBase = /** @class */ (function () {
|
|
|
4790
4783
|
}
|
|
4791
4784
|
_this.button.title = text;
|
|
4792
4785
|
});
|
|
4786
|
+
}
|
|
4787
|
+
EditorCommandBase.prototype.ngOnInit = function () {
|
|
4788
|
+
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
4789
|
+
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
4790
|
+
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
4793
4791
|
};
|
|
4794
4792
|
EditorCommandBase.prototype.ngOnDestroy = function () {
|
|
4795
4793
|
if (this.subs) {
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-editor',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1637743184,
|
|
15
15
|
version: '',
|
|
16
16
|
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'
|
|
17
17
|
};
|
|
@@ -10,18 +10,11 @@ var command_icons_1 = require("../../config/command-icons");
|
|
|
10
10
|
*/
|
|
11
11
|
var EditorCommandBase = /** @class */ (function () {
|
|
12
12
|
function EditorCommandBase(command, button, editor, localization) {
|
|
13
|
+
var _this = this;
|
|
13
14
|
this.command = command;
|
|
14
15
|
this.button = button;
|
|
15
16
|
this.editor = editor;
|
|
16
17
|
this.localization = localization;
|
|
17
|
-
}
|
|
18
|
-
EditorCommandBase.prototype.ngOnInit = function () {
|
|
19
|
-
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
20
|
-
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
21
|
-
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
22
|
-
};
|
|
23
|
-
EditorCommandBase.prototype.ngAfterViewInit = function () {
|
|
24
|
-
var _this = this;
|
|
25
18
|
setTimeout(function () {
|
|
26
19
|
var text = _this.localization.get(_this.command);
|
|
27
20
|
if (text) {
|
|
@@ -34,6 +27,11 @@ var EditorCommandBase = /** @class */ (function () {
|
|
|
34
27
|
}
|
|
35
28
|
_this.button.title = text;
|
|
36
29
|
});
|
|
30
|
+
}
|
|
31
|
+
EditorCommandBase.prototype.ngOnInit = function () {
|
|
32
|
+
this.subs = this.editor.stateChange.subscribe(this.onStateChange.bind(this));
|
|
33
|
+
this.subs.add(this.button.click.subscribe((this.clickHandler.bind(this))));
|
|
34
|
+
this.subs.add(this.button.pointerdown.subscribe((this.pointerdownHandler.bind(this))));
|
|
37
35
|
};
|
|
38
36
|
EditorCommandBase.prototype.ngOnDestroy = function () {
|
|
39
37
|
if (this.subs) {
|