@progress/kendo-angular-editor 17.0.0-develop.4 → 17.0.0-develop.41

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 (127) hide show
  1. package/README.md +26 -18
  2. package/common/commands.d.ts +5 -5
  3. package/common/direction.d.ts +1 -1
  4. package/common/plugins-function.d.ts +1 -1
  5. package/common/predicate.d.ts +1 -1
  6. package/config/utils.d.ts +2 -2
  7. package/dialogs/colorpicker-dialog.component.d.ts +1 -1
  8. package/dialogs/file-link-dialog.component.d.ts +1 -1
  9. package/dialogs/font-family-dialog.component.d.ts +1 -1
  10. package/dialogs/font-size-dialog.component.d.ts +1 -1
  11. package/dialogs/format-dialog.component.d.ts +1 -1
  12. package/dialogs/image-dialog.component.d.ts +1 -1
  13. package/dialogs/insert-table-dialog.component.d.ts +1 -1
  14. package/dialogs/source-dialog.component.d.ts +1 -1
  15. package/editor.component.d.ts +1 -1
  16. package/editor.module.d.ts +2 -3
  17. package/{esm2020 → esm2022}/common/provider.service.mjs +4 -3
  18. package/{esm2020 → esm2022}/dialogs/colorpicker-dialog.component.mjs +17 -5
  19. package/{esm2020 → esm2022}/dialogs/file-link-dialog.component.mjs +15 -10
  20. package/{esm2020 → esm2022}/dialogs/font-family-dialog.component.mjs +13 -6
  21. package/{esm2020 → esm2022}/dialogs/font-size-dialog.component.mjs +13 -6
  22. package/{esm2020 → esm2022}/dialogs/format-dialog.component.mjs +13 -6
  23. package/{esm2020 → esm2022}/dialogs/image-dialog.component.mjs +29 -21
  24. package/{esm2020 → esm2022}/dialogs/insert-table-dialog.component.mjs +8 -5
  25. package/{esm2020 → esm2022}/dialogs/source-dialog.component.mjs +10 -6
  26. package/{esm2020 → esm2022}/editor.component.mjs +222 -180
  27. package/esm2022/editor.module.mjs +88 -0
  28. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  29. package/{esm2020 → esm2022}/localization/editor-localization.service.mjs +3 -3
  30. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
  31. package/esm2022/localization/messages.mjs +364 -0
  32. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  33. package/{esm2020 → esm2022}/preventable-events/paste-event.mjs +12 -0
  34. package/{esm2020 → esm2022}/preventable-events/preventable-event.mjs +1 -3
  35. package/{esm2020 → esm2022}/tools/alignment/editor-align-center-button.directive.mjs +3 -3
  36. package/{esm2020 → esm2022}/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
  37. package/{esm2020 → esm2022}/tools/alignment/editor-align-left-button.directive.mjs +3 -3
  38. package/{esm2020 → esm2022}/tools/alignment/editor-align-right-button.directive.mjs +3 -3
  39. package/{esm2020 → esm2022}/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
  40. package/{esm2020 → esm2022}/tools/colorpicker/editor-back-color.directive.mjs +4 -3
  41. package/{esm2020 → esm2022}/tools/colorpicker/editor-colorpicker.component.mjs +59 -33
  42. package/{esm2020 → esm2022}/tools/colorpicker/editor-fore-color.directive.mjs +4 -3
  43. package/{esm2020 → esm2022}/tools/editor-clean-formatting-button.directive.mjs +3 -3
  44. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +14 -7
  45. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily.component.mjs +53 -41
  46. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +14 -7
  47. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize.component.mjs +48 -36
  48. package/{esm2020 → esm2022}/tools/format/editor-format-dropdownlist.component.mjs +14 -7
  49. package/{esm2020 → esm2022}/tools/format/editor-format.component.mjs +41 -36
  50. package/{esm2020 → esm2022}/tools/history/editor-redo-button.directive.mjs +3 -3
  51. package/{esm2020 → esm2022}/tools/history/editor-undo-button.directive.mjs +3 -3
  52. package/{esm2020 → esm2022}/tools/image/editor-insert-image-button.directive.mjs +3 -3
  53. package/{esm2020 → esm2022}/tools/indentation/editor-indent-button.directive.mjs +3 -3
  54. package/{esm2020 → esm2022}/tools/indentation/editor-outdent-button.directive.mjs +3 -3
  55. package/{esm2020 → esm2022}/tools/link/editor-create-link-button.directive.mjs +3 -3
  56. package/{esm2020 → esm2022}/tools/link/editor-insert-file-button.directive.mjs +3 -3
  57. package/{esm2020 → esm2022}/tools/link/editor-unlink-button.directive.mjs +3 -3
  58. package/{esm2020 → esm2022}/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
  59. package/{esm2020 → esm2022}/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
  60. package/{esm2020 → esm2022}/tools/print/editor-print-button.directive.mjs +3 -3
  61. package/{esm2020 → esm2022}/tools/select-all/select-all-button.directive.mjs +3 -3
  62. package/{esm2020 → esm2022}/tools/shared/dropdown-tool.directive.mjs +11 -9
  63. package/{esm2020 → esm2022}/tools/shared/editor-command-base.mjs +9 -3
  64. package/{esm2020 → esm2022}/tools/shared/editor-command-button.mjs +5 -0
  65. package/{esm2020 → esm2022}/tools/shared/editor-command-dialog.mjs +5 -0
  66. package/{esm2020 → esm2022}/tools/source/editor-view-source-button.directive.mjs +3 -3
  67. package/{esm2020 → esm2022}/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  68. package/{esm2020 → esm2022}/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  69. package/{esm2020 → esm2022}/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  70. package/{esm2020 → esm2022}/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  71. package/{esm2020 → esm2022}/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  72. package/{esm2020 → esm2022}/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  73. package/{esm2020 → esm2022}/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  74. package/{esm2020 → esm2022}/tools/tables/editor-insert-table-button.component.mjs +27 -16
  75. package/{esm2020 → esm2022}/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
  76. package/{esm2020 → esm2022}/tools/tables/editor-split-cell-button.directive.mjs +3 -3
  77. package/{esm2020 → esm2022}/tools/tables/popup-table-grid.component.mjs +11 -10
  78. package/{esm2020 → esm2022}/tools/tools.service.mjs +5 -4
  79. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
  80. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
  81. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
  82. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
  83. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
  84. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
  85. package/{fesm2020 → fesm2022}/progress-kendo-angular-editor.mjs +1608 -1174
  86. package/localization/messages.d.ts +1 -1
  87. package/package.json +25 -31
  88. package/schematics/ngAdd/index.js +4 -4
  89. package/tools/colorpicker/editor-colorpicker.component.d.ts +2 -4
  90. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
  91. package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -4
  92. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
  93. package/tools/fontsize/editor-fontsize.component.d.ts +2 -4
  94. package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
  95. package/tools/format/editor-format.component.d.ts +2 -4
  96. package/tools/tables/editor-insert-table-button.component.d.ts +0 -2
  97. package/esm2020/editor.module.mjs +0 -111
  98. package/esm2020/localization/messages.mjs +0 -132
  99. package/fesm2015/progress-kendo-angular-editor.mjs +0 -6403
  100. /package/{esm2020 → esm2022}/common/active-marks.mjs +0 -0
  101. /package/{esm2020 → esm2022}/common/apply-to-word-options.mjs +0 -0
  102. /package/{esm2020 → esm2022}/common/commands.mjs +0 -0
  103. /package/{esm2020 → esm2022}/common/css-settings.interface.mjs +0 -0
  104. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  105. /package/{esm2020 → esm2022}/common/error-messages.mjs +0 -0
  106. /package/{esm2020 → esm2022}/common/font-family-item.interface.mjs +0 -0
  107. /package/{esm2020 → esm2022}/common/font-size-item.interface.mjs +0 -0
  108. /package/{esm2020 → esm2022}/common/format-item.interface.mjs +0 -0
  109. /package/{esm2020 → esm2022}/common/image-data.interface.mjs +0 -0
  110. /package/{esm2020 → esm2022}/common/link-data.interface.mjs +0 -0
  111. /package/{esm2020 → esm2022}/common/paste-cleanup-settings.mjs +0 -0
  112. /package/{esm2020 → esm2022}/common/plugins-function.mjs +0 -0
  113. /package/{esm2020 → esm2022}/common/predicate.mjs +0 -0
  114. /package/{esm2020 → esm2022}/common/resizable-options.interface.mjs +0 -0
  115. /package/{esm2020 → esm2022}/common/styles.mjs +0 -0
  116. /package/{esm2020 → esm2022}/common/table-data.interface.mjs +0 -0
  117. /package/{esm2020 → esm2022}/config/command-icons.mjs +0 -0
  118. /package/{esm2020 → esm2022}/config/commands.mjs +0 -0
  119. /package/{esm2020 → esm2022}/config/schema.mjs +0 -0
  120. /package/{esm2020 → esm2022}/config/semantic-nodes.mjs +0 -0
  121. /package/{esm2020 → esm2022}/config/table-commands.mjs +0 -0
  122. /package/{esm2020 → esm2022}/config/utils.mjs +0 -0
  123. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  124. /package/{esm2020 → esm2022}/editor-toolbar-state.mjs +0 -0
  125. /package/{esm2020 → esm2022}/index.mjs +0 -0
  126. /package/{esm2020 → esm2022}/progress-kendo-angular-editor.mjs +0 -0
  127. /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -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>
@@ -144,8 +151,9 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
144
151
  (click)="onCancelAction()"
145
152
  >{{ textFor('dialogCancel') }}</button>
146
153
  </kendo-dialog-actions>
147
- `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, decorators: [{
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"] }] });
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>
@@ -50,8 +52,9 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
50
52
  (click)="onCancelAction()"
51
53
  >{{ textFor('dialogCancel') }}</button>
52
54
  </kendo-dialog-actions>
53
- `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
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"] }] });
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>
@@ -70,8 +73,9 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
70
73
  (click)="onCancelAction()"
71
74
  >{{ textFor('dialogCancel') }}</button>
72
75
  </kendo-dialog-actions>
73
- `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, decorators: [{
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"] }] });
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: `