@progress/kendo-angular-editor 11.0.0-develop.99 → 11.0.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/NOTICE.txt +17 -17
- package/config/command-icons.d.ts +4 -0
- package/dialogs/colorpicker-dialog.component.d.ts +2 -0
- package/dialogs/file-link-dialog.component.d.ts +2 -2
- package/dialogs/image-dialog.component.d.ts +2 -2
- package/dialogs/source-dialog.component.d.ts +2 -2
- package/editor.component.d.ts +3 -2
- package/editor.module.d.ts +4 -2
- package/esm2020/config/command-icons.mjs +45 -0
- package/esm2020/dialogs/colorpicker-dialog.component.mjs +29 -34
- package/esm2020/dialogs/file-link-dialog.component.mjs +79 -77
- package/esm2020/dialogs/font-family-dialog.component.mjs +20 -28
- package/esm2020/dialogs/font-size-dialog.component.mjs +20 -28
- package/esm2020/dialogs/format-dialog.component.mjs +20 -28
- package/esm2020/dialogs/image-dialog.component.mjs +74 -63
- package/esm2020/dialogs/insert-table-dialog.component.mjs +6 -14
- package/esm2020/dialogs/source-dialog.component.mjs +9 -7
- package/esm2020/editor.component.mjs +31 -10
- package/esm2020/editor.module.mjs +15 -4
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +2 -1
- package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +53 -37
- package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +2 -1
- package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +36 -31
- package/esm2020/tools/fontsize/editor-fontsize.component.mjs +35 -31
- package/esm2020/tools/format/editor-format.component.mjs +35 -33
- package/esm2020/tools/shared/editor-command-base.mjs +20 -13
- package/esm2020/tools/shared/editor-command-button.mjs +10 -2
- package/esm2020/tools/shared/editor-command-dialog.mjs +10 -2
- package/esm2020/tools/tables/editor-insert-table-button.component.mjs +36 -23
- package/esm2020/tools/tables/popup-table-grid.component.mjs +4 -2
- package/esm2020/tools/tools.service.mjs +5 -4
- package/fesm2015/progress-kendo-angular-editor.mjs +571 -464
- package/fesm2020/progress-kendo-angular-editor.mjs +570 -464
- package/package.json +16 -15
- package/schematics/ngAdd/index.js +5 -3
- package/tools/colorpicker/editor-colorpicker.component.d.ts +10 -3
- package/tools/fontfamily/editor-fontfamily.component.d.ts +5 -2
- package/tools/fontsize/editor-fontsize.component.d.ts +5 -2
- package/tools/format/editor-format.component.d.ts +5 -2
- package/tools/tables/editor-insert-table-button.component.d.ts +5 -2
- package/tools/tables/popup-table-grid.component.d.ts +2 -0
- package/tools/tools.service.d.ts +3 -0
package/NOTICE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Progress Kendo UI for Angular 2023
|
|
2
2
|
|
|
3
|
-
Copyright
|
|
3
|
+
Copyright © 2016-2023 Progress Software Corporation and/or one of its
|
|
4
4
|
subsidiaries or affiliates. All rights reserved.
|
|
5
5
|
|
|
6
6
|
Portions of the Product include certain open source and commercial third-party
|
|
@@ -65,7 +65,7 @@ the Product:
|
|
|
65
65
|
|
|
66
66
|
(1) The Apache Software License, Version 2.0:
|
|
67
67
|
|
|
68
|
-
Progress Kendo UI for Angular
|
|
68
|
+
Progress Kendo UI for Angular 2023 incorporates TsLib v1.9.3. Such technology
|
|
69
69
|
is subject to the following terms and conditions: Apache Software License Version 2.0.
|
|
70
70
|
|
|
71
71
|
Apache License
|
|
@@ -290,7 +290,7 @@ is subject to the following terms and conditions: Apache Software License Versio
|
|
|
290
290
|
|
|
291
291
|
(2) BSD-Style Licenses:
|
|
292
292
|
|
|
293
|
-
(a) Progress Kendo UI for Angular
|
|
293
|
+
(a) Progress Kendo UI for Angular 2023 incorporates xlf-translate v2.0.4. Such
|
|
294
294
|
technology is subject to the following terms and conditions:
|
|
295
295
|
|
|
296
296
|
BSD 3-Clause License
|
|
@@ -325,7 +325,7 @@ technology is subject to the following terms and conditions:
|
|
|
325
325
|
|
|
326
326
|
(3) The ISC License:
|
|
327
327
|
|
|
328
|
-
(a) Progress Kendo UI for Angular
|
|
328
|
+
(a) Progress Kendo UI for Angular 2023 incorporates glob v7.1.3. Such technology
|
|
329
329
|
is subject to the following terms and conditions:
|
|
330
330
|
|
|
331
331
|
The ISC License
|
|
@@ -352,7 +352,7 @@ is subject to the following terms and conditions:
|
|
|
352
352
|
|
|
353
353
|
(4) MIT-Style Licenses:
|
|
354
354
|
|
|
355
|
-
(a) Progress Kendo UI for Angular
|
|
355
|
+
(a) Progress Kendo UI for Angular 2023 incorporates HammerJS v2.0.8. Such
|
|
356
356
|
technology is subject to the following terms and conditions:
|
|
357
357
|
|
|
358
358
|
The MIT License (MIT)
|
|
@@ -377,7 +377,7 @@ technology is subject to the following terms and conditions:
|
|
|
377
377
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
378
378
|
SOFTWARE.
|
|
379
379
|
|
|
380
|
-
(b) Progress Kendo UI for Angular
|
|
380
|
+
(b) Progress Kendo UI for Angular 2023 incorporates prosemirror-commands v1*,
|
|
381
381
|
prosemirror-cursor v1*, prosemirror-gapcursor v1*, prosemirror-history v1*,
|
|
382
382
|
prosemirror-inputrules v1*, prosemirror-keymap v1*, prosemirror-model v1*,
|
|
383
383
|
prosemirror-schema-list v1*, prosemirror-state v1*, prosemirror-tables v0.7*,
|
|
@@ -404,7 +404,7 @@ subject to the following terms and conditions:
|
|
|
404
404
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
405
405
|
THE SOFTWARE.
|
|
406
406
|
|
|
407
|
-
(c) Progress Kendo UI for Angular
|
|
407
|
+
(c) Progress Kendo UI for Angular 2023 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
|
|
408
408
|
|
|
409
409
|
MIT License
|
|
410
410
|
|
|
@@ -428,7 +428,7 @@ subject to the following terms and conditions:
|
|
|
428
428
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
429
429
|
SOFTWARE.
|
|
430
430
|
|
|
431
|
-
(d) Progress Kendo UI for Angular
|
|
431
|
+
(d) Progress Kendo UI for Angular 2023 incorporates @types/prosemirror-commands v1*,
|
|
432
432
|
@types/prosemirror-dropcursor v1*, @types/prosemirror-gapcursor v1*, @types/prosemirror-history v1*,
|
|
433
433
|
@types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
|
|
434
434
|
@types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
|
|
@@ -457,7 +457,7 @@ subject to the following terms and conditions:
|
|
|
457
457
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
458
458
|
SOFTWARE.
|
|
459
459
|
|
|
460
|
-
(e) Progress Kendo UI for Angular
|
|
460
|
+
(e) Progress Kendo UI for Angular 2023 incorporates pako-esm v1.0.0. Such
|
|
461
461
|
technology is subject to the following terms and conditions:
|
|
462
462
|
|
|
463
463
|
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
|
|
@@ -483,7 +483,7 @@ technology is subject to the following terms and conditions:
|
|
|
483
483
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
484
484
|
THE SOFTWARE.
|
|
485
485
|
|
|
486
|
-
(f) Progress Kendo UI for Angular
|
|
486
|
+
(f) Progress Kendo UI for Angular 2023 incorporates jszip-esm v1.0.0. Such
|
|
487
487
|
technology is subject to the following terms and conditions:
|
|
488
488
|
|
|
489
489
|
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries
|
|
@@ -510,7 +510,7 @@ technology is subject to the following terms and conditions:
|
|
|
510
510
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
511
511
|
THE SOFTWARE.
|
|
512
512
|
|
|
513
|
-
(g) Progress Kendo UI for Angular
|
|
513
|
+
(g) Progress Kendo UI for Angular 2023 incorporates data.task v3.1.2. Such
|
|
514
514
|
technology is subject to the following terms and conditions:
|
|
515
515
|
|
|
516
516
|
The MIT License
|
|
@@ -535,7 +535,7 @@ technology is subject to the following terms and conditions:
|
|
|
535
535
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
536
536
|
THE SOFTWARE.
|
|
537
537
|
|
|
538
|
-
(h) Progress Kendo UI for Angular
|
|
538
|
+
(h) Progress Kendo UI for Angular 2023 incorporates ramda v0.23. Such technology
|
|
539
539
|
is subject to the following terms and conditions:
|
|
540
540
|
|
|
541
541
|
The MIT License (MIT)
|
|
@@ -560,7 +560,7 @@ is subject to the following terms and conditions:
|
|
|
560
560
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
561
561
|
THE SOFTWARE.
|
|
562
562
|
|
|
563
|
-
(i) Progress Kendo UI for Angular
|
|
563
|
+
(i) Progress Kendo UI for Angular 2023 incorporates js-yaml v3.14.0. Such
|
|
564
564
|
technology is subject to the following terms and conditions:
|
|
565
565
|
|
|
566
566
|
(The MIT License)
|
|
@@ -587,7 +587,7 @@ technology is subject to the following terms and conditions:
|
|
|
587
587
|
|
|
588
588
|
(5) UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE:
|
|
589
589
|
|
|
590
|
-
Progress Kendo UI for Angular
|
|
590
|
+
Progress Kendo UI for Angular 2023 incorporates Unicode CLDR Database v33.
|
|
591
591
|
Such technology is subject to the following terms and conditions:
|
|
592
592
|
|
|
593
593
|
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
@@ -605,7 +605,7 @@ Such technology is subject to the following terms and conditions:
|
|
|
605
605
|
|
|
606
606
|
COPYRIGHT AND PERMISSION NOTICE
|
|
607
607
|
|
|
608
|
-
Copyright © 1991-
|
|
608
|
+
Copyright © 1991-2019 Unicode, Inc. All rights reserved.
|
|
609
609
|
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
|
|
610
610
|
|
|
611
611
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -642,7 +642,7 @@ incorporated into the Product: NONE
|
|
|
642
642
|
|
|
643
643
|
3. Special Notices Regarding Progress Products incorporated into the Product:
|
|
644
644
|
|
|
645
|
-
(a) Progress Kendo UI for Angular
|
|
645
|
+
(a) Progress Kendo UI for Angular 2023 incorporates Kendo UI Licensing CLI v1.1
|
|
646
646
|
from Progress Software Corporation. See NOTICE.txt text file within product for
|
|
647
647
|
third-party license information.
|
|
648
648
|
|
|
@@ -651,4 +651,4 @@ the release notes or other documentation that accompanies updates received in
|
|
|
651
651
|
connection with support of the Product.
|
|
652
652
|
|
|
653
653
|
|
|
654
|
-
Updated
|
|
654
|
+
Updated 13.Jan.2023
|
|
@@ -7,3 +7,7 @@ import { EditorCommand, DialogCommand, EditorInternalCommand } from '../common/c
|
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
9
9
|
export declare const commandIcons: Partial<Record<EditorCommand | DialogCommand | EditorInternalCommand, string>>;
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const commandSVGIcons: any;
|
|
@@ -6,6 +6,7 @@ import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
|
6
6
|
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
7
7
|
import { EditorComponent } from '../editor.component';
|
|
8
8
|
import { PaletteSettings, ActiveColorClickEvent, ColorPickerComponent, ColorPickerView } from '@progress/kendo-angular-inputs';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -20,6 +21,7 @@ export declare class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
20
21
|
editorCommand: 'foreColor' | 'backColor';
|
|
21
22
|
paletteSettings: PaletteSettings;
|
|
22
23
|
icon: string;
|
|
24
|
+
svgIcon: SVGIcon;
|
|
23
25
|
view: ColorPickerView;
|
|
24
26
|
views: ColorPickerView[];
|
|
25
27
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { FormGroup } from '@angular/forms';
|
|
7
6
|
import { DialogContentBase, DialogRef } from '@progress/kendo-angular-dialog';
|
|
8
7
|
import { EditorState } from '@progress/kendo-editor-common';
|
|
9
8
|
import { DialogCommand } from '../common/commands';
|
|
10
9
|
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
10
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
@@ -17,7 +17,7 @@ export declare class FileLinkDialogComponent extends DialogContentBase {
|
|
|
17
17
|
localization: EditorLocalizationService;
|
|
18
18
|
editor: any;
|
|
19
19
|
command: DialogCommand;
|
|
20
|
-
hrefInput:
|
|
20
|
+
hrefInput: TextBoxComponent;
|
|
21
21
|
linkForm: FormGroup;
|
|
22
22
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
23
23
|
ngAfterViewInit(): void;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
7
6
|
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
8
7
|
import { EditorState } from '@progress/kendo-editor-common';
|
|
9
8
|
import { ImageData } from '../common/image-data.interface';
|
|
10
9
|
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
10
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
@@ -16,7 +16,7 @@ export declare class ImageDialogComponent extends DialogContentBase {
|
|
|
16
16
|
dialog: DialogRef;
|
|
17
17
|
private localization;
|
|
18
18
|
editor: any;
|
|
19
|
-
srcInput:
|
|
19
|
+
srcInput: TextBoxComponent;
|
|
20
20
|
src: FormControl;
|
|
21
21
|
alt: FormControl;
|
|
22
22
|
width: FormControl;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
6
|
+
import { TextAreaComponent } from '@progress/kendo-angular-inputs';
|
|
7
7
|
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
@@ -13,7 +13,7 @@ export declare class SourceDialogComponent extends DialogContentBase {
|
|
|
13
13
|
dialog: DialogRef;
|
|
14
14
|
private localization;
|
|
15
15
|
editor: any;
|
|
16
|
-
textarea:
|
|
16
|
+
textarea: TextAreaComponent;
|
|
17
17
|
data: string;
|
|
18
18
|
constructor(dialog: DialogRef, localization: EditorLocalizationService);
|
|
19
19
|
ngAfterViewInit(): void;
|
package/editor.component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit, ViewContainerRef, ElementRef, EventEmitter, ChangeDetectorRef, NgZone, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { AfterViewInit, ViewContainerRef, ElementRef, EventEmitter, ChangeDetectorRef, NgZone, SimpleChanges, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ControlValueAccessor } from '@angular/forms';
|
|
7
7
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
8
8
|
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
@@ -31,6 +31,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
31
31
|
private element;
|
|
32
32
|
private providerService;
|
|
33
33
|
private toolsService;
|
|
34
|
+
private renderer;
|
|
34
35
|
/**
|
|
35
36
|
* Sets the value of the Editor ([see example]({% slug overview_editor %}#toc-basic-usage)).
|
|
36
37
|
*/
|
|
@@ -186,7 +187,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
186
187
|
private _iframeCss;
|
|
187
188
|
private afterViewInit;
|
|
188
189
|
private contentAreaLoaded;
|
|
189
|
-
constructor(dialogService: DialogService, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, element: ElementRef, providerService: ProviderService, toolsService: EditorToolsService);
|
|
190
|
+
constructor(dialogService: DialogService, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, element: ElementRef, providerService: ProviderService, toolsService: EditorToolsService, renderer: Renderer2);
|
|
190
191
|
ngOnInit(): void;
|
|
191
192
|
ngAfterViewInit(): void;
|
|
192
193
|
ngOnChanges(changes: SimpleChanges): void;
|
package/editor.module.d.ts
CHANGED
|
@@ -66,7 +66,9 @@ import * as i60 from "@progress/kendo-angular-buttons";
|
|
|
66
66
|
import * as i61 from "@progress/kendo-angular-inputs";
|
|
67
67
|
import * as i62 from "@progress/kendo-angular-dialog";
|
|
68
68
|
import * as i63 from "@progress/kendo-angular-dropdowns";
|
|
69
|
-
import * as i64 from "@progress/kendo-angular-
|
|
69
|
+
import * as i64 from "@progress/kendo-angular-icons";
|
|
70
|
+
import * as i65 from "@progress/kendo-angular-toolbar";
|
|
71
|
+
import * as i66 from "@progress/kendo-angular-label";
|
|
70
72
|
/**
|
|
71
73
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Editor component.
|
|
72
74
|
*
|
|
@@ -108,6 +110,6 @@ import * as i64 from "@progress/kendo-angular-toolbar";
|
|
|
108
110
|
*/
|
|
109
111
|
export declare class EditorModule {
|
|
110
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorModule, never>;
|
|
111
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EditorModule, [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i46.FileLinkDialogComponent, typeof i47.ImageDialogComponent, typeof i48.SourceDialogComponent, typeof i49.FormatDialogComponent, typeof i50.ColorPickerDialogComponent, typeof i51.FontFamilyDialogComponent, typeof i52.FontSizeDialogComponent, typeof i53.InsertTableDialogComponent, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent], [typeof i58.CommonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i60.ButtonModule, typeof i61.ColorPickerModule, typeof i62.DialogModule, typeof i63.DropDownsModule, typeof i61.NumericTextBoxModule, typeof i61.CheckBoxModule, typeof i64.ToolBarModule, typeof i61.TextBoxModule], [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof
|
|
113
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EditorModule, [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i46.FileLinkDialogComponent, typeof i47.ImageDialogComponent, typeof i48.SourceDialogComponent, typeof i49.FormatDialogComponent, typeof i50.ColorPickerDialogComponent, typeof i51.FontFamilyDialogComponent, typeof i52.FontSizeDialogComponent, typeof i53.InsertTableDialogComponent, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent], [typeof i58.CommonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i60.ButtonModule, typeof i61.ColorPickerModule, typeof i62.DialogModule, typeof i63.DropDownsModule, typeof i61.NumericTextBoxModule, typeof i61.CheckBoxModule, typeof i64.IconsModule, typeof i65.ToolBarModule, typeof i61.TextBoxModule, typeof i61.TextAreaModule, typeof i66.LabelModule], [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i65.ToolBarModule, typeof i60.ButtonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent]>;
|
|
112
114
|
static ɵinj: i0.ɵɵInjectorDeclaration<EditorModule>;
|
|
113
115
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, boldIcon, cellsMergeIcon, cellSplitHorizontallyIcon, clearCssIcon, codeSnippetIcon, dropletIcon, fileAddIcon, fileImageIcon, foregroundColorIcon, indentIcon, italicIcon, linkIcon, listOrderedIcon, listUnorderedIcon, outdentIcon, printIcon, redoIcon, rightDoubleQuotesIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, tableAddIcon, tableColumnDeleteIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableDeleteIcon, tableRowDeleteIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, underlineIcon, undoIcon, unlinkIcon } from '@progress/kendo-svg-icons';
|
|
5
6
|
/**
|
|
6
7
|
* @hidden
|
|
7
8
|
*/
|
|
@@ -46,3 +47,47 @@ export const commandIcons = {
|
|
|
46
47
|
deleteTable: 'table-delete'
|
|
47
48
|
// tableWizard: 'table-wizard'
|
|
48
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
export const commandSVGIcons = {
|
|
54
|
+
alignCenter: alignCenterIcon,
|
|
55
|
+
alignJustify: alignJustifyIcon,
|
|
56
|
+
alignLeft: alignLeftIcon,
|
|
57
|
+
alignRight: alignRightIcon,
|
|
58
|
+
backColor: dropletIcon,
|
|
59
|
+
blockquote: rightDoubleQuotesIcon,
|
|
60
|
+
bold: boldIcon,
|
|
61
|
+
cleanFormatting: clearCssIcon,
|
|
62
|
+
createLink: linkIcon,
|
|
63
|
+
foreColor: foregroundColorIcon,
|
|
64
|
+
indent: indentIcon,
|
|
65
|
+
insertFile: fileAddIcon,
|
|
66
|
+
insertImage: fileImageIcon,
|
|
67
|
+
insertOrderedList: listOrderedIcon,
|
|
68
|
+
insertUnorderedList: listUnorderedIcon,
|
|
69
|
+
italic: italicIcon,
|
|
70
|
+
outdent: outdentIcon,
|
|
71
|
+
print: printIcon,
|
|
72
|
+
redo: redoIcon,
|
|
73
|
+
selectAll: selectAllIcon,
|
|
74
|
+
strikethrough: strikethroughIcon,
|
|
75
|
+
subscript: subscriptIcon,
|
|
76
|
+
superscript: supscriptIcon,
|
|
77
|
+
underline: underlineIcon,
|
|
78
|
+
undo: undoIcon,
|
|
79
|
+
unlink: unlinkIcon,
|
|
80
|
+
viewSource: codeSnippetIcon,
|
|
81
|
+
//table
|
|
82
|
+
insertTable: tableAddIcon,
|
|
83
|
+
addColumnBefore: tableColumnInsertLeftIcon,
|
|
84
|
+
addColumnAfter: tableColumnInsertRightIcon,
|
|
85
|
+
addRowBefore: tableRowInsertAboveIcon,
|
|
86
|
+
addRowAfter: tableRowInsertBelowIcon,
|
|
87
|
+
deleteRow: tableRowDeleteIcon,
|
|
88
|
+
deleteColumn: tableColumnDeleteIcon,
|
|
89
|
+
mergeCells: cellsMergeIcon,
|
|
90
|
+
splitCell: cellSplitHorizontallyIcon,
|
|
91
|
+
deleteTable: tableDeleteIcon
|
|
92
|
+
// tableWizard: 'table-wizard'
|
|
93
|
+
};
|
|
@@ -43,6 +43,7 @@ export class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
43
43
|
setData(args) {
|
|
44
44
|
this.editor = args.editor;
|
|
45
45
|
this.value = args.value;
|
|
46
|
+
this.svgIcon = args.svgIcon;
|
|
46
47
|
this.editorCommand = args.editorCommand;
|
|
47
48
|
this.paletteSettings = args.paletteSettings;
|
|
48
49
|
this.icon = args.icon;
|
|
@@ -57,24 +58,21 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
57
58
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
58
59
|
{{ textFor(editorCommand) }}
|
|
59
60
|
</kendo-dialog-titlebar>
|
|
60
|
-
<div
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</kendo-colorpicker>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
61
|
+
<div [style.text-align]="'center'">
|
|
62
|
+
<kendo-colorpicker
|
|
63
|
+
#colorpicker
|
|
64
|
+
[views]="views"
|
|
65
|
+
[format]="'hex'"
|
|
66
|
+
[attr.title]="title"
|
|
67
|
+
[icon]="icon"
|
|
68
|
+
[svgIcon]="svgIcon"
|
|
69
|
+
[(value)]="value"
|
|
70
|
+
[paletteSettings]="paletteSettings"
|
|
71
|
+
(activeColorClick)="handleActiveColorClick($event)"
|
|
72
|
+
>
|
|
73
|
+
</kendo-colorpicker>
|
|
76
74
|
</div>
|
|
77
|
-
<kendo-dialog-actions>
|
|
75
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
78
76
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
79
77
|
<button kendoButton
|
|
80
78
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|
|
@@ -87,24 +85,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
87
85
|
<kendo-dialog-titlebar (close)="onCancelAction()">
|
|
88
86
|
{{ textFor(editorCommand) }}
|
|
89
87
|
</kendo-dialog-titlebar>
|
|
90
|
-
<div
|
|
91
|
-
<
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</kendo-colorpicker>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
88
|
+
<div [style.text-align]="'center'">
|
|
89
|
+
<kendo-colorpicker
|
|
90
|
+
#colorpicker
|
|
91
|
+
[views]="views"
|
|
92
|
+
[format]="'hex'"
|
|
93
|
+
[attr.title]="title"
|
|
94
|
+
[icon]="icon"
|
|
95
|
+
[svgIcon]="svgIcon"
|
|
96
|
+
[(value)]="value"
|
|
97
|
+
[paletteSettings]="paletteSettings"
|
|
98
|
+
(activeColorClick)="handleActiveColorClick($event)"
|
|
99
|
+
>
|
|
100
|
+
</kendo-colorpicker>
|
|
106
101
|
</div>
|
|
107
|
-
<kendo-dialog-actions>
|
|
102
|
+
<kendo-dialog-actions class="k-actions-end k-actions-horizontal k-window-actions" [layout]="'normal'">
|
|
108
103
|
<button kendoButton (click)="onCancelAction()">{{ textFor('dialogCancel') }}</button>
|
|
109
104
|
<button kendoButton
|
|
110
105
|
(click)="onConfirmAction()" [primary]="true">{{ textFor('dialogApply') }}</button>
|