@progress/kendo-angular-editor 17.0.0-develop.21 → 17.0.0-develop.23

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.
Files changed (124) hide show
  1. package/common/commands.d.ts +5 -5
  2. package/common/direction.d.ts +1 -1
  3. package/common/plugins-function.d.ts +1 -1
  4. package/common/predicate.d.ts +1 -1
  5. package/config/utils.d.ts +2 -2
  6. package/dialogs/colorpicker-dialog.component.d.ts +1 -1
  7. package/dialogs/file-link-dialog.component.d.ts +1 -1
  8. package/dialogs/font-family-dialog.component.d.ts +1 -1
  9. package/dialogs/font-size-dialog.component.d.ts +1 -1
  10. package/dialogs/format-dialog.component.d.ts +1 -1
  11. package/dialogs/image-dialog.component.d.ts +1 -1
  12. package/dialogs/insert-table-dialog.component.d.ts +1 -1
  13. package/dialogs/source-dialog.component.d.ts +1 -1
  14. package/editor.component.d.ts +1 -1
  15. package/{esm2020 → esm2022}/common/provider.service.mjs +4 -3
  16. package/{esm2020 → esm2022}/dialogs/colorpicker-dialog.component.mjs +16 -4
  17. package/{esm2020 → esm2022}/dialogs/file-link-dialog.component.mjs +14 -9
  18. package/{esm2020 → esm2022}/dialogs/font-family-dialog.component.mjs +12 -5
  19. package/{esm2020 → esm2022}/dialogs/font-size-dialog.component.mjs +12 -5
  20. package/{esm2020 → esm2022}/dialogs/format-dialog.component.mjs +12 -5
  21. package/{esm2020 → esm2022}/dialogs/image-dialog.component.mjs +28 -20
  22. package/{esm2020 → esm2022}/dialogs/insert-table-dialog.component.mjs +7 -4
  23. package/{esm2020 → esm2022}/dialogs/source-dialog.component.mjs +9 -5
  24. package/{esm2020 → esm2022}/editor.component.mjs +218 -179
  25. package/{esm2020 → esm2022}/editor.module.mjs +4 -4
  26. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  27. package/{esm2020 → esm2022}/localization/editor-localization.service.mjs +3 -3
  28. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
  29. package/esm2022/localization/messages.mjs +364 -0
  30. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  31. package/{esm2020 → esm2022}/preventable-events/paste-event.mjs +12 -0
  32. package/{esm2020 → esm2022}/preventable-events/preventable-event.mjs +1 -3
  33. package/{esm2020 → esm2022}/tools/alignment/editor-align-center-button.directive.mjs +3 -3
  34. package/{esm2020 → esm2022}/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
  35. package/{esm2020 → esm2022}/tools/alignment/editor-align-left-button.directive.mjs +3 -3
  36. package/{esm2020 → esm2022}/tools/alignment/editor-align-right-button.directive.mjs +3 -3
  37. package/{esm2020 → esm2022}/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
  38. package/{esm2020 → esm2022}/tools/colorpicker/editor-back-color.directive.mjs +4 -3
  39. package/{esm2020 → esm2022}/tools/colorpicker/editor-colorpicker.component.mjs +59 -33
  40. package/{esm2020 → esm2022}/tools/colorpicker/editor-fore-color.directive.mjs +4 -3
  41. package/{esm2020 → esm2022}/tools/editor-clean-formatting-button.directive.mjs +3 -3
  42. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +14 -7
  43. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily.component.mjs +53 -41
  44. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +14 -7
  45. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize.component.mjs +48 -36
  46. package/{esm2020 → esm2022}/tools/format/editor-format-dropdownlist.component.mjs +14 -7
  47. package/{esm2020 → esm2022}/tools/format/editor-format.component.mjs +41 -36
  48. package/{esm2020 → esm2022}/tools/history/editor-redo-button.directive.mjs +3 -3
  49. package/{esm2020 → esm2022}/tools/history/editor-undo-button.directive.mjs +3 -3
  50. package/{esm2020 → esm2022}/tools/image/editor-insert-image-button.directive.mjs +3 -3
  51. package/{esm2020 → esm2022}/tools/indentation/editor-indent-button.directive.mjs +3 -3
  52. package/{esm2020 → esm2022}/tools/indentation/editor-outdent-button.directive.mjs +3 -3
  53. package/{esm2020 → esm2022}/tools/link/editor-create-link-button.directive.mjs +3 -3
  54. package/{esm2020 → esm2022}/tools/link/editor-insert-file-button.directive.mjs +3 -3
  55. package/{esm2020 → esm2022}/tools/link/editor-unlink-button.directive.mjs +3 -3
  56. package/{esm2020 → esm2022}/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
  57. package/{esm2020 → esm2022}/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
  58. package/{esm2020 → esm2022}/tools/print/editor-print-button.directive.mjs +3 -3
  59. package/{esm2020 → esm2022}/tools/select-all/select-all-button.directive.mjs +3 -3
  60. package/{esm2020 → esm2022}/tools/shared/dropdown-tool.directive.mjs +11 -9
  61. package/{esm2020 → esm2022}/tools/shared/editor-command-base.mjs +9 -3
  62. package/{esm2020 → esm2022}/tools/shared/editor-command-button.mjs +5 -0
  63. package/{esm2020 → esm2022}/tools/shared/editor-command-dialog.mjs +5 -0
  64. package/{esm2020 → esm2022}/tools/source/editor-view-source-button.directive.mjs +3 -3
  65. package/{esm2020 → esm2022}/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  66. package/{esm2020 → esm2022}/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  67. package/{esm2020 → esm2022}/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  68. package/{esm2020 → esm2022}/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  69. package/{esm2020 → esm2022}/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  70. package/{esm2020 → esm2022}/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  71. package/{esm2020 → esm2022}/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  72. package/{esm2020 → esm2022}/tools/tables/editor-insert-table-button.component.mjs +26 -15
  73. package/{esm2020 → esm2022}/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
  74. package/{esm2020 → esm2022}/tools/tables/editor-split-cell-button.directive.mjs +3 -3
  75. package/{esm2020 → esm2022}/tools/tables/popup-table-grid.component.mjs +11 -10
  76. package/{esm2020 → esm2022}/tools/tools.service.mjs +5 -4
  77. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
  78. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
  79. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
  80. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
  81. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
  82. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
  83. package/{fesm2020 → fesm2022}/progress-kendo-angular-editor.mjs +1027 -581
  84. package/localization/messages.d.ts +1 -1
  85. package/package.json +23 -29
  86. package/schematics/ngAdd/index.js +4 -4
  87. package/tools/colorpicker/editor-colorpicker.component.d.ts +2 -4
  88. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
  89. package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -4
  90. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
  91. package/tools/fontsize/editor-fontsize.component.d.ts +2 -4
  92. package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
  93. package/tools/format/editor-format.component.d.ts +2 -4
  94. package/tools/tables/editor-insert-table-button.component.d.ts +0 -2
  95. package/esm2020/localization/messages.mjs +0 -132
  96. package/fesm2015/progress-kendo-angular-editor.mjs +0 -6406
  97. /package/{esm2020 → esm2022}/common/active-marks.mjs +0 -0
  98. /package/{esm2020 → esm2022}/common/apply-to-word-options.mjs +0 -0
  99. /package/{esm2020 → esm2022}/common/commands.mjs +0 -0
  100. /package/{esm2020 → esm2022}/common/css-settings.interface.mjs +0 -0
  101. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  102. /package/{esm2020 → esm2022}/common/error-messages.mjs +0 -0
  103. /package/{esm2020 → esm2022}/common/font-family-item.interface.mjs +0 -0
  104. /package/{esm2020 → esm2022}/common/font-size-item.interface.mjs +0 -0
  105. /package/{esm2020 → esm2022}/common/format-item.interface.mjs +0 -0
  106. /package/{esm2020 → esm2022}/common/image-data.interface.mjs +0 -0
  107. /package/{esm2020 → esm2022}/common/link-data.interface.mjs +0 -0
  108. /package/{esm2020 → esm2022}/common/paste-cleanup-settings.mjs +0 -0
  109. /package/{esm2020 → esm2022}/common/plugins-function.mjs +0 -0
  110. /package/{esm2020 → esm2022}/common/predicate.mjs +0 -0
  111. /package/{esm2020 → esm2022}/common/resizable-options.interface.mjs +0 -0
  112. /package/{esm2020 → esm2022}/common/styles.mjs +0 -0
  113. /package/{esm2020 → esm2022}/common/table-data.interface.mjs +0 -0
  114. /package/{esm2020 → esm2022}/config/command-icons.mjs +0 -0
  115. /package/{esm2020 → esm2022}/config/commands.mjs +0 -0
  116. /package/{esm2020 → esm2022}/config/schema.mjs +0 -0
  117. /package/{esm2020 → esm2022}/config/semantic-nodes.mjs +0 -0
  118. /package/{esm2020 → esm2022}/config/table-commands.mjs +0 -0
  119. /package/{esm2020 → esm2022}/config/utils.mjs +0 -0
  120. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  121. /package/{esm2020 → esm2022}/editor-toolbar-state.mjs +0 -0
  122. /package/{esm2020 → esm2022}/index.mjs +0 -0
  123. /package/{esm2020 → esm2022}/progress-kendo-angular-editor.mjs +0 -0
  124. /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -6,19 +6,19 @@ import { EditorState, Transaction, EditorView } from '@progress/kendo-editor-com
6
6
  /**
7
7
  * @hidden
8
8
  */
9
- export declare type DispatchFn = (tr: Transaction) => void;
9
+ export type DispatchFn = (tr: Transaction) => void;
10
10
  /**
11
11
  * @hidden
12
12
  */
13
- export declare type Command = (state: EditorState, dispatch: DispatchFn, view?: EditorView) => boolean | void;
13
+ export type Command = (state: EditorState, dispatch: DispatchFn, view?: EditorView) => boolean | void;
14
14
  /**
15
15
  * @hidden
16
16
  */
17
- export declare type EditorInternalCommand = 'print';
17
+ export type EditorInternalCommand = 'print';
18
18
  /**
19
19
  * The list of the command names that are accepted by the `exec` method.
20
20
  */
21
- export declare type EditorCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'createLink' | 'unlink' | 'insertFile' | 'insertImage' | 'insertOrderedList' | 'insertUnorderedList' | 'insertText' | 'indent' | 'outdent' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'format' | 'fontFamily' | 'fontSize' | 'cleanFormat' | 'setHTML' | 'undo' | 'redo' | 'subscript' | 'superscript' | 'cleanFormatting' | 'foreColor' | 'backColor' | 'insertTable' | 'addColumnBefore' | 'addColumnAfter' | 'addRowBefore' | 'addRowAfter' | 'deleteRow' | 'deleteColumn' | 'mergeCells' | 'splitCell' | 'deleteTable' | 'selectAll' | 'blockquote';
21
+ export type EditorCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'createLink' | 'unlink' | 'insertFile' | 'insertImage' | 'insertOrderedList' | 'insertUnorderedList' | 'insertText' | 'indent' | 'outdent' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'format' | 'fontFamily' | 'fontSize' | 'cleanFormat' | 'setHTML' | 'undo' | 'redo' | 'subscript' | 'superscript' | 'cleanFormatting' | 'foreColor' | 'backColor' | 'insertTable' | 'addColumnBefore' | 'addColumnAfter' | 'addRowBefore' | 'addRowAfter' | 'deleteRow' | 'deleteColumn' | 'mergeCells' | 'splitCell' | 'deleteTable' | 'selectAll' | 'blockquote';
22
22
  /**
23
23
  * The list of the dialog commands that are accepted by the `openDialog` method.
24
24
  *
@@ -37,4 +37,4 @@ export declare type EditorCommand = 'bold' | 'italic' | 'underline' | 'strikethr
37
37
  * editor.openDialog('viewSource');
38
38
  * ```
39
39
  */
40
- export declare type DialogCommand = 'createLink' | 'insertFile' | 'insertImage' | 'viewSource';
40
+ export type DialogCommand = 'createLink' | 'insertFile' | 'insertImage' | 'viewSource';
@@ -5,4 +5,4 @@
5
5
  /**
6
6
  * @hidden
7
7
  */
8
- export declare type Direction = 'rtl' | 'ltr';
8
+ export type Direction = 'rtl' | 'ltr';
@@ -14,4 +14,4 @@ import { Plugin } from '@progress/kendo-editor-common';
14
14
  * }
15
15
  * ```
16
16
  */
17
- export declare type PluginsFn = (args: Plugin[]) => Plugin[];
17
+ export type PluginsFn = (args: Plugin[]) => Plugin[];
@@ -6,4 +6,4 @@
6
6
  * @hidden
7
7
  *
8
8
  */
9
- export declare type Predicate<T = any> = (condition: T) => boolean;
9
+ export type Predicate<T = any> = (condition: T) => boolean;
package/config/utils.d.ts CHANGED
@@ -6,11 +6,11 @@ import { Node } from '@progress/kendo-editor-common';
6
6
  /**
7
7
  * @hidden
8
8
  */
9
- export declare type EditorMarks = 'link' | 'em' | 'strong' | 'code' | 'underline' | 'strikethrough' | 'subscript' | 'superscript' | 'style';
9
+ export type EditorMarks = 'link' | 'em' | 'strong' | 'code' | 'underline' | 'strikethrough' | 'subscript' | 'superscript' | 'style';
10
10
  /**
11
11
  * @hidden
12
12
  */
13
- export declare type EditorNodes = 'doc' | 'paragraph' | 'blockquote' | 'horizontalRule' | 'heading' | 'codeBlock' | 'text' | 'image' | 'hardBreak' | 'listItem' | 'orderedList' | 'bulletList' | 'htmlBlock' | 'table' | 'table_colgroup' | 'table_col' | 'table_body' | 'table_foot' | 'table_head' | 'table_row' | 'table_cell' | 'table_header';
13
+ export type EditorNodes = 'doc' | 'paragraph' | 'blockquote' | 'horizontalRule' | 'heading' | 'codeBlock' | 'text' | 'image' | 'hardBreak' | 'listItem' | 'orderedList' | 'bulletList' | 'htmlBlock' | 'table' | 'table_colgroup' | 'table_col' | 'table_body' | 'table_foot' | 'table_head' | 'table_row' | 'table_cell' | 'table_header';
14
14
  /**
15
15
  * @hidden
16
16
  */
@@ -32,5 +32,5 @@ export declare class ColorPickerDialogComponent extends DialogContentBase {
32
32
  setData(args: any): void;
33
33
  textFor(key: string): string;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerDialogComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
@@ -29,5 +29,5 @@ export declare class FileLinkDialogComponent extends DialogContentBase {
29
29
  private setLinkText;
30
30
  private getData;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<FileLinkDialogComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<FileLinkDialogComponent, "ng-component", never, { "editor": "editor"; "command": "command"; }, {}, never, never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileLinkDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; "command": { "alias": "command"; "required": false; }; }, {}, never, never, true, never>;
33
33
  }
@@ -27,5 +27,5 @@ export declare class FontFamilyDialogComponent extends DialogContentBase {
27
27
  setData(args: any): void;
28
28
  textFor(key: string): string;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<FontFamilyDialogComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<FontFamilyDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<FontFamilyDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
31
31
  }
@@ -27,5 +27,5 @@ export declare class FontSizeDialogComponent extends DialogContentBase {
27
27
  setData(args: any): void;
28
28
  textFor(key: string): string;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<FontSizeDialogComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<FontSizeDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<FontSizeDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
31
31
  }
@@ -27,5 +27,5 @@ export declare class FormatDialogComponent extends DialogContentBase {
27
27
  setData(args: any): void;
28
28
  textFor(key: string): string;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<FormatDialogComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<FormatDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormatDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
31
31
  }
@@ -36,5 +36,5 @@ export declare class ImageDialogComponent extends DialogContentBase {
36
36
  private getData;
37
37
  private normalizeDimension;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageDialogComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
40
40
  }
@@ -20,5 +20,5 @@ export declare class InsertTableDialogComponent extends DialogContentBase {
20
20
  setData(args: any): void;
21
21
  textFor(key: string): string;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<InsertTableDialogComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<InsertTableDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<InsertTableDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
24
24
  }
@@ -23,5 +23,5 @@ export declare class SourceDialogComponent extends DialogContentBase {
23
23
  textFor(key: string): string;
24
24
  private indent;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<SourceDialogComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SourceDialogComponent, "ng-component", never, { "editor": "editor"; }, {}, never, never, true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SourceDialogComponent, "ng-component", never, { "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
27
27
  }
@@ -258,5 +258,5 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
258
258
  private onPaste;
259
259
  private dispatchPasteEvent;
260
260
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
261
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "kendo-editor", never, { "value": "value"; "disabled": "disabled"; "readonly": "readonly"; "iframe": "iframe"; "iframeCss": "iframeCss"; "applyToWord": "applyToWord"; "schema": "schema"; "plugins": "plugins"; "placeholder": "placeholder"; "preserveWhitespace": "preserveWhitespace"; "pasteCleanupSettings": "pasteCleanupSettings"; "resizable": "resizable"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "paste": "paste"; "onBlur": "blur"; }, ["userToolBarComponent", "userToolBarElement"], ["kendo-toolbar"], true, never>;
261
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "kendo-editor", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "iframe": { "alias": "iframe"; "required": false; }; "iframeCss": { "alias": "iframeCss"; "required": false; }; "applyToWord": { "alias": "applyToWord"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "plugins": { "alias": "plugins"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "preserveWhitespace": { "alias": "preserveWhitespace"; "required": false; }; "pasteCleanupSettings": { "alias": "pasteCleanupSettings"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "paste": "paste"; "onBlur": "blur"; }, ["userToolBarComponent", "userToolBarElement"], ["kendo-toolbar"], true, never>;
262
262
  }
@@ -8,9 +8,10 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class ProviderService {
11
+ editor;
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService });
11
14
  }
12
- ProviderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
- ProviderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ProviderService, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ProviderService, decorators: [{
15
16
  type: Injectable
16
17
  }] });
@@ -16,6 +16,18 @@ import * as i2 from "../localization/editor-localization.service";
16
16
  * @hidden
17
17
  */
18
18
  export class ColorPickerDialogComponent extends DialogContentBase {
19
+ dialog;
20
+ localization;
21
+ editor;
22
+ colorPicker;
23
+ value;
24
+ title;
25
+ editorCommand;
26
+ paletteSettings;
27
+ icon;
28
+ svgIcon;
29
+ view;
30
+ views;
19
31
  constructor(dialog, localization) {
20
32
  super(dialog);
21
33
  this.dialog = dialog;
@@ -50,9 +62,8 @@ export class ColorPickerDialogComponent extends DialogContentBase {
50
62
  textFor(key) {
51
63
  return this.localization.get(key);
52
64
  }
53
- }
54
- ColorPickerDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
55
- ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColorPickerDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
65
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColorPickerDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
56
67
  <kendo-dialog-titlebar (close)="onCancelAction()">
57
68
  {{ textFor(editorCommand) }}
58
69
  </kendo-dialog-titlebar>
@@ -83,7 +94,8 @@ ColorPickerDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
83
94
  >{{ textFor('dialogCancel') }}</button>
84
95
  </kendo-dialog-actions>
85
96
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
97
+ }
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColorPickerDialogComponent, decorators: [{
87
99
  type: Component,
88
100
  args: [{
89
101
  template: `
@@ -20,15 +20,20 @@ import * as i3 from "@angular/forms";
20
20
  * @hidden
21
21
  */
22
22
  export class FileLinkDialogComponent extends DialogContentBase {
23
+ dialog;
24
+ localization;
25
+ editor;
26
+ command;
27
+ hrefInput;
28
+ linkForm = new FormGroup({
29
+ 'href': new FormControl('', Validators.required),
30
+ 'text': new FormControl({ value: '', disabled: true }, Validators.required),
31
+ 'title': new FormControl('')
32
+ });
23
33
  constructor(dialog, localization) {
24
34
  super(dialog);
25
35
  this.dialog = dialog;
26
36
  this.localization = localization;
27
- this.linkForm = new FormGroup({
28
- 'href': new FormControl('', Validators.required),
29
- 'text': new FormControl({ value: '', disabled: true }, Validators.required),
30
- 'title': new FormControl('')
31
- });
32
37
  }
33
38
  onCancelAction() {
34
39
  this.dialog.close();
@@ -98,9 +103,8 @@ export class FileLinkDialogComponent extends DialogContentBase {
98
103
  }
99
104
  return linkData;
100
105
  }
101
- }
102
- FileLinkDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
103
- FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
107
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
104
108
  <kendo-dialog-titlebar (close)="onCancelAction()">
105
109
  {{ titleText }}
106
110
  </kendo-dialog-titlebar>
@@ -167,7 +171,8 @@ FileLinkDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
167
171
  >{{ textFor('dialogCancel') }}</button>
168
172
  </kendo-dialog-actions>
169
173
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
174
+ }
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
171
176
  type: Component,
172
177
  args: [{
173
178
  template: `
@@ -15,11 +15,18 @@ import * as i2 from "../localization/editor-localization.service";
15
15
  * @hidden
16
16
  */
17
17
  export class FontFamilyDialogComponent extends DialogContentBase {
18
+ dialog;
19
+ localization;
20
+ editor;
21
+ fontFamilyDropDownList;
22
+ data = [];
23
+ defaultItem;
24
+ value;
25
+ itemDisabled;
18
26
  constructor(dialog, localization) {
19
27
  super(dialog);
20
28
  this.dialog = dialog;
21
29
  this.localization = localization;
22
- this.data = [];
23
30
  }
24
31
  onCancelAction() {
25
32
  this.dialog.close();
@@ -40,9 +47,8 @@ export class FontFamilyDialogComponent extends DialogContentBase {
40
47
  textFor(key) {
41
48
  return this.localization.get(key);
42
49
  }
43
- }
44
- FontFamilyDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
45
- FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontFamilyDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontFamilyDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontFamilyDropDownList", first: true, predicate: ["fontFamilyDropDownList"], descendants: true, read: FontFamilyDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
46
52
  <kendo-dialog-titlebar (close)="onCancelAction()">
47
53
  {{ textFor('fontFamily') }}
48
54
  </kendo-dialog-titlebar>
@@ -68,7 +74,8 @@ FontFamilyDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
68
74
  >{{ textFor('dialogCancel') }}</button>
69
75
  </kendo-dialog-actions>
70
76
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
77
+ }
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontFamilyDialogComponent, decorators: [{
72
79
  type: Component,
73
80
  args: [{
74
81
  template: `
@@ -15,11 +15,18 @@ import * as i2 from "../localization/editor-localization.service";
15
15
  * @hidden
16
16
  */
17
17
  export class FontSizeDialogComponent extends DialogContentBase {
18
+ dialog;
19
+ localization;
20
+ editor;
21
+ fontSizeDropDownList;
22
+ data = [];
23
+ defaultItem;
24
+ value;
25
+ itemDisabled;
18
26
  constructor(dialog, localization) {
19
27
  super(dialog);
20
28
  this.dialog = dialog;
21
29
  this.localization = localization;
22
- this.data = [];
23
30
  }
24
31
  onCancelAction() {
25
32
  this.dialog.close();
@@ -40,9 +47,8 @@ export class FontSizeDialogComponent extends DialogContentBase {
40
47
  textFor(key) {
41
48
  return this.localization.get(key);
42
49
  }
43
- }
44
- FontSizeDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
45
- FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FontSizeDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FontSizeDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "fontSizeDropDownList", first: true, predicate: ["fontSizeDropDownList"], descendants: true, read: FontSizeDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
46
52
  <kendo-dialog-titlebar (close)="onCancelAction()">
47
53
  {{ textFor('fontSize') }}
48
54
  </kendo-dialog-titlebar>
@@ -68,7 +74,8 @@ FontSizeDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
68
74
  >{{ textFor('dialogCancel') }}</button>
69
75
  </kendo-dialog-actions>
70
76
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
77
+ }
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FontSizeDialogComponent, decorators: [{
72
79
  type: Component,
73
80
  args: [{
74
81
  template: `
@@ -14,11 +14,18 @@ import * as i2 from "../localization/editor-localization.service";
14
14
  * @hidden
15
15
  */
16
16
  export class FormatDialogComponent extends DialogContentBase {
17
+ dialog;
18
+ localization;
19
+ editor;
20
+ formatDropDownList;
21
+ data = [];
22
+ defaultItem;
23
+ value;
24
+ itemDisabled;
17
25
  constructor(dialog, localization) {
18
26
  super(dialog);
19
27
  this.dialog = dialog;
20
28
  this.localization = localization;
21
- this.data = [];
22
29
  }
23
30
  onCancelAction() {
24
31
  this.dialog.close();
@@ -39,9 +46,8 @@ export class FormatDialogComponent extends DialogContentBase {
39
46
  textFor(key) {
40
47
  return this.localization.get(key);
41
48
  }
42
- }
43
- FormatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
44
- FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormatDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
50
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormatDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true, read: FormatDropDownListComponent, static: true }], usesInheritance: true, ngImport: i0, template: `
45
51
  <kendo-dialog-titlebar (close)="onCancelAction()">
46
52
  {{ textFor('format') }}
47
53
  </kendo-dialog-titlebar>
@@ -67,7 +73,8 @@ FormatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
67
73
  >{{ textFor('dialogCancel') }}</button>
68
74
  </kendo-dialog-actions>
69
75
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormatDialogComponent, decorators: [{
76
+ }
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDialogComponent, decorators: [{
71
78
  type: Component,
72
79
  args: [{
73
80
  template: `
@@ -20,26 +20,34 @@ import * as i3 from "@angular/forms";
20
20
  * @hidden
21
21
  */
22
22
  export class ImageDialogComponent extends DialogContentBase {
23
+ dialog;
24
+ localization;
25
+ editor;
26
+ srcInput;
27
+ src = new FormControl('', Validators.required);
28
+ alt = new FormControl('');
29
+ width = new FormControl('', Validators.min(1));
30
+ height = new FormControl('', Validators.min(1));
31
+ data = {
32
+ alt: '',
33
+ height: '',
34
+ src: '',
35
+ width: ''
36
+ };
37
+ imageData = new FormGroup({
38
+ alt: this.alt,
39
+ height: this.height,
40
+ src: this.src,
41
+ width: this.width
42
+ });
43
+ srcInputId;
44
+ altTextInputId;
45
+ widthInputId;
46
+ heightInputId;
23
47
  constructor(dialog, localization) {
24
48
  super(dialog);
25
49
  this.dialog = dialog;
26
50
  this.localization = localization;
27
- this.src = new FormControl('', Validators.required);
28
- this.alt = new FormControl('');
29
- this.width = new FormControl('', Validators.min(1));
30
- this.height = new FormControl('', Validators.min(1));
31
- this.data = {
32
- alt: '',
33
- height: '',
34
- src: '',
35
- width: ''
36
- };
37
- this.imageData = new FormGroup({
38
- alt: this.alt,
39
- height: this.height,
40
- src: this.src,
41
- width: this.width
42
- });
43
51
  }
44
52
  ngOnInit() {
45
53
  this.srcInputId = `k-${guid()}`;
@@ -80,9 +88,8 @@ export class ImageDialogComponent extends DialogContentBase {
80
88
  normalizeDimension(value) {
81
89
  return Number.isNaN(parseInt(value, 10)) || parseInt(value, 10) <= 0 ? '' : safeString(parseInt(value, 10));
82
90
  }
83
- }
84
- ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
85
- ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
92
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
86
93
  <kendo-dialog-titlebar (close)="onCancelAction()">
87
94
  {{ textFor('insertImage') }}
88
95
  </kendo-dialog-titlebar>
@@ -145,7 +152,8 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
145
152
  >{{ textFor('dialogCancel') }}</button>
146
153
  </kendo-dialog-actions>
147
154
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, decorators: [{
155
+ }
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ImageDialogComponent, decorators: [{
149
157
  type: Component,
150
158
  args: [{
151
159
  template: `
@@ -15,6 +15,9 @@ import * as i2 from "../localization/editor-localization.service";
15
15
  * @hidden
16
16
  */
17
17
  export class InsertTableDialogComponent extends DialogContentBase {
18
+ dialog;
19
+ localization;
20
+ editor;
18
21
  constructor(dialog, localization) {
19
22
  super(dialog);
20
23
  this.dialog = dialog;
@@ -35,9 +38,8 @@ export class InsertTableDialogComponent extends DialogContentBase {
35
38
  textFor(key) {
36
39
  return this.localization.get(key);
37
40
  }
38
- }
39
- InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
40
- InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
41
43
  <kendo-dialog-titlebar (close)="onCancelAction()">
42
44
  {{ textFor('insertTable') }}
43
45
  </kendo-dialog-titlebar>
@@ -51,7 +53,8 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
51
53
  >{{ textFor('dialogCancel') }}</button>
52
54
  </kendo-dialog-actions>
53
55
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
56
+ }
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
55
58
  type: Component,
56
59
  args: [{
57
60
  template: `
@@ -15,11 +15,15 @@ import * as i2 from "../localization/editor-localization.service";
15
15
  * @hidden
16
16
  */
17
17
  export class SourceDialogComponent extends DialogContentBase {
18
+ dialog;
19
+ localization;
20
+ editor;
21
+ textarea;
22
+ data = '';
18
23
  constructor(dialog, localization) {
19
24
  super(dialog);
20
25
  this.dialog = dialog;
21
26
  this.localization = localization;
22
- this.data = '';
23
27
  }
24
28
  onCancelAction() {
25
29
  this.dialog.close();
@@ -45,9 +49,8 @@ export class SourceDialogComponent extends DialogContentBase {
45
49
  .replace(/<br \/>/gi, '<br />\n')
46
50
  .replace(/\n$/, '');
47
51
  }
48
- }
49
- SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
50
- SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
51
54
  <kendo-dialog-titlebar (close)="onCancelAction()">
52
55
  {{ textFor('viewSource') }}
53
56
  </kendo-dialog-titlebar>
@@ -71,7 +74,8 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
71
74
  >{{ textFor('dialogCancel') }}</button>
72
75
  </kendo-dialog-actions>
73
76
  `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, decorators: [{
77
+ }
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SourceDialogComponent, decorators: [{
75
79
  type: Component,
76
80
  args: [{
77
81
  template: `