@progress/kendo-angular-editor 4.2.0 → 11.0.0-develop.79
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 +3 -3
- package/README.md +2 -2
- package/common/active-marks.d.ts +1 -1
- package/common/apply-to-word-options.d.ts +1 -1
- package/common/commands.d.ts +1 -1
- package/common/css-settings.interface.d.ts +1 -1
- package/common/direction.d.ts +1 -1
- package/common/error-messages.d.ts +1 -1
- package/common/font-family-item.interface.d.ts +1 -1
- package/common/font-size-item.interface.d.ts +1 -1
- package/common/format-item.interface.d.ts +1 -1
- package/common/image-data.interface.d.ts +1 -1
- package/common/link-data.interface.d.ts +1 -1
- package/common/paste-cleanup-settings.d.ts +1 -1
- package/common/plugins-function.d.ts +1 -1
- package/common/predicate.d.ts +1 -1
- package/common/provider.service.d.ts +1 -1
- package/common/resizable-options.interface.d.ts +1 -1
- package/common/styles.d.ts +1 -1
- package/common/table-data.interface.d.ts +1 -1
- package/config/command-icons.d.ts +1 -1
- package/config/commands.d.ts +1 -1
- package/config/schema.d.ts +1 -1
- package/config/semantic-nodes.d.ts +1 -1
- package/config/table-commands.d.ts +1 -1
- package/config/utils.d.ts +1 -1
- package/dialogs/colorpicker-dialog.component.d.ts +1 -1
- package/dialogs/file-link-dialog.component.d.ts +1 -1
- package/dialogs/font-family-dialog.component.d.ts +1 -1
- package/dialogs/font-size-dialog.component.d.ts +1 -1
- package/dialogs/format-dialog.component.d.ts +1 -1
- package/dialogs/image-dialog.component.d.ts +1 -1
- package/dialogs/insert-table-dialog.component.d.ts +1 -1
- package/dialogs/source-dialog.component.d.ts +1 -1
- package/editor-toolbar-state.d.ts +1 -1
- package/editor.component.d.ts +1 -1
- package/editor.module.d.ts +1 -1
- package/{esm2015/common/css-settings.interface.js → esm2020/common/active-marks.mjs} +1 -1
- package/{esm2015/common/active-marks.js → esm2020/common/apply-to-word-options.mjs} +1 -1
- package/{esm2015/common/apply-to-word-options.js → esm2020/common/commands.mjs} +1 -1
- package/{esm2015/common/commands.js → esm2020/common/css-settings.interface.mjs} +1 -1
- package/esm2020/common/direction.mjs +5 -0
- package/{esm2015/common/error-messages.js → esm2020/common/error-messages.mjs} +1 -1
- package/esm2020/common/font-family-item.interface.mjs +5 -0
- package/esm2020/common/font-size-item.interface.mjs +5 -0
- package/esm2020/common/format-item.interface.mjs +5 -0
- package/esm2020/common/image-data.interface.mjs +5 -0
- package/esm2020/common/link-data.interface.mjs +5 -0
- package/esm2020/common/paste-cleanup-settings.mjs +5 -0
- package/esm2020/common/plugins-function.mjs +5 -0
- package/esm2020/common/predicate.mjs +5 -0
- package/{esm2015/common/provider.service.js → esm2020/common/provider.service.mjs} +4 -4
- package/esm2020/common/resizable-options.interface.mjs +5 -0
- package/{esm2015/common/styles.js → esm2020/common/styles.mjs} +1 -1
- package/esm2020/common/table-data.interface.mjs +5 -0
- package/{esm2015/config/command-icons.js → esm2020/config/command-icons.mjs} +1 -1
- package/{esm2015/config/commands.js → esm2020/config/commands.mjs} +7 -7
- package/{esm2015/config/schema.js → esm2020/config/schema.mjs} +1 -1
- package/{esm2015/config/semantic-nodes.js → esm2020/config/semantic-nodes.mjs} +4 -2
- package/{esm2015/config/table-commands.js → esm2020/config/table-commands.mjs} +1 -1
- package/{esm2015/config/utils.js → esm2020/config/utils.mjs} +11 -7
- package/{esm2015/dialogs/colorpicker-dialog.component.js → esm2020/dialogs/colorpicker-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/file-link-dialog.component.js → esm2020/dialogs/file-link-dialog.component.mjs} +17 -16
- package/{esm2015/dialogs/font-family-dialog.component.js → esm2020/dialogs/font-family-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/font-size-dialog.component.js → esm2020/dialogs/font-size-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/format-dialog.component.js → esm2020/dialogs/format-dialog.component.mjs} +9 -8
- package/{esm2015/dialogs/image-dialog.component.js → esm2020/dialogs/image-dialog.component.mjs} +13 -12
- package/{esm2015/dialogs/insert-table-dialog.component.js → esm2020/dialogs/insert-table-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/source-dialog.component.js → esm2020/dialogs/source-dialog.component.mjs} +10 -16
- package/{esm2015/editor-toolbar-state.js → esm2020/editor-toolbar-state.mjs} +6 -6
- package/{esm2015/editor.component.js → esm2020/editor.component.mjs} +22 -31
- package/{esm2015/editor.module.js → esm2020/editor.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +3 -2
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/editor-localization.service.js → esm2020/localization/editor-localization.service.mjs} +5 -5
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/esm2020/preventable-events/paste-event-data.mjs +5 -0
- package/{esm2015/preventable-events/paste-event.js → esm2020/preventable-events/paste-event.mjs} +1 -1
- package/{esm2015/preventable-events/preventable-event.js → esm2020/preventable-events/preventable-event.mjs} +1 -1
- package/{esm2015/kendo-angular-editor.js → esm2020/progress-kendo-angular-editor.mjs} +2 -2
- package/{esm2015/tools/alignment/editor-align-center-button.directive.js → esm2020/tools/alignment/editor-align-center-button.directive.mjs} +8 -4
- package/{esm2015/tools/alignment/editor-align-justify-button.directive.js → esm2020/tools/alignment/editor-align-justify-button.directive.mjs} +8 -4
- package/{esm2015/tools/alignment/editor-align-left-button.directive.js → esm2020/tools/alignment/editor-align-left-button.directive.mjs} +8 -4
- package/{esm2015/tools/alignment/editor-align-right-button.directive.js → esm2020/tools/alignment/editor-align-right-button.directive.mjs} +8 -4
- package/{esm2015/tools/blockquote/editor-blockquote-button.directive.js → esm2020/tools/blockquote/editor-blockquote-button.directive.mjs} +8 -4
- package/{esm2015/tools/colorpicker/editor-back-color.directive.js → esm2020/tools/colorpicker/editor-back-color.directive.mjs} +5 -4
- package/{esm2015/tools/colorpicker/editor-colorpicker.component.js → esm2020/tools/colorpicker/editor-colorpicker.component.mjs} +9 -6
- package/{esm2015/tools/colorpicker/editor-fore-color.directive.js → esm2020/tools/colorpicker/editor-fore-color.directive.mjs} +5 -4
- package/{esm2015/tools/editor-clean-formatting-button.directive.js → esm2020/tools/editor-clean-formatting-button.directive.mjs} +8 -4
- package/{esm2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js → esm2020/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs} +9 -12
- package/{esm2015/tools/fontfamily/editor-fontfamily.component.js → esm2020/tools/fontfamily/editor-fontfamily.component.mjs} +12 -8
- package/{esm2015/tools/fontsize/editor-fontsize-dropdownlist.component.js → esm2020/tools/fontsize/editor-fontsize-dropdownlist.component.mjs} +9 -12
- package/{esm2015/tools/fontsize/editor-fontsize.component.js → esm2020/tools/fontsize/editor-fontsize.component.mjs} +13 -9
- package/{esm2015/tools/format/editor-format-dropdownlist.component.js → esm2020/tools/format/editor-format-dropdownlist.component.mjs} +23 -26
- package/{esm2015/tools/format/editor-format.component.js → esm2020/tools/format/editor-format.component.mjs} +13 -8
- package/{esm2015/tools/history/editor-redo-button.directive.js → esm2020/tools/history/editor-redo-button.directive.mjs} +8 -4
- package/{esm2015/tools/history/editor-undo-button.directive.js → esm2020/tools/history/editor-undo-button.directive.mjs} +8 -4
- package/{esm2015/tools/image/editor-insert-image-button.directive.js → esm2020/tools/image/editor-insert-image-button.directive.mjs} +8 -4
- package/{esm2015/tools/indentation/editor-indent-button.directive.js → esm2020/tools/indentation/editor-indent-button.directive.mjs} +8 -4
- package/{esm2015/tools/indentation/editor-outdent-button.directive.js → esm2020/tools/indentation/editor-outdent-button.directive.mjs} +8 -4
- package/{esm2015/tools/link/editor-create-link-button.directive.js → esm2020/tools/link/editor-create-link-button.directive.mjs} +8 -4
- package/{esm2015/tools/link/editor-insert-file-button.directive.js → esm2020/tools/link/editor-insert-file-button.directive.mjs} +8 -4
- package/{esm2015/tools/link/editor-unlink-button.directive.js → esm2020/tools/link/editor-unlink-button.directive.mjs} +8 -4
- package/{esm2015/tools/list/editor-insert-ordered-list-button.directive.js → esm2020/tools/list/editor-insert-ordered-list-button.directive.mjs} +8 -4
- package/{esm2015/tools/list/editor-insert-unordered-list-button.directive.js → esm2020/tools/list/editor-insert-unordered-list-button.directive.mjs} +8 -4
- package/{esm2015/tools/print/editor-print-button.directive.js → esm2020/tools/print/editor-print-button.directive.mjs} +8 -4
- package/{esm2015/tools/select-all/select-all-button.directive.js → esm2020/tools/select-all/select-all-button.directive.mjs} +8 -4
- package/{esm2015/tools/shared/dropdown-tool.directive.js → esm2020/tools/shared/dropdown-tool.directive.mjs} +5 -5
- package/{esm2015/tools/shared/editor-command-base.js → esm2020/tools/shared/editor-command-base.mjs} +8 -7
- package/{esm2015/tools/shared/editor-command-button.js → esm2020/tools/shared/editor-command-button.mjs} +1 -1
- package/{esm2015/tools/shared/editor-command-dialog.js → esm2020/tools/shared/editor-command-dialog.mjs} +1 -1
- package/{esm2015/tools/source/editor-view-source-button.directive.js → esm2020/tools/source/editor-view-source-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-column-after-button.directive.js → esm2020/tools/tables/editor-add-column-after-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-column-before-button.directive.js → esm2020/tools/tables/editor-add-column-before-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-row-after-button.directive.js → esm2020/tools/tables/editor-add-row-after-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-row-before-button.directive.js → esm2020/tools/tables/editor-add-row-before-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-delete-column-button.directive.js → esm2020/tools/tables/editor-delete-column-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-delete-row-button.directive.js → esm2020/tools/tables/editor-delete-row-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-delete-table-button.directive.js → esm2020/tools/tables/editor-delete-table-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-insert-table-button.component.js → esm2020/tools/tables/editor-insert-table-button.component.mjs} +19 -15
- package/{esm2015/tools/tables/editor-merge-cells-button.directive.js → esm2020/tools/tables/editor-merge-cells-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-split-cell-button.directive.js → esm2020/tools/tables/editor-split-cell-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/popup-table-grid.component.js → esm2020/tools/tables/popup-table-grid.component.mjs} +6 -6
- package/{esm2015/tools/tools.service.js → esm2020/tools/tools.service.mjs} +4 -4
- package/{esm2015/tools/typographical-emphasis/editor-bold-button.directive.js → esm2020/tools/typographical-emphasis/editor-bold-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-italic-button.directive.js → esm2020/tools/typographical-emphasis/editor-italic-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js → esm2020/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-subscript-button.directive.js → esm2020/tools/typographical-emphasis/editor-subscript-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-superscript-button.directive.js → esm2020/tools/typographical-emphasis/editor-superscript-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-underline-button.directive.js → esm2020/tools/typographical-emphasis/editor-underline-button.directive.mjs} +8 -4
- package/{esm2015/util.js → esm2020/util.mjs} +2 -2
- package/fesm2015/{kendo-angular-editor.js → progress-kendo-angular-editor.mjs} +319 -343
- package/fesm2020/progress-kendo-angular-editor.mjs +6480 -0
- package/{main.d.ts → index.d.ts} +3 -2
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/editor-localization.service.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +36 -63
- package/preventable-events/paste-event-data.d.ts +1 -1
- package/preventable-events/paste-event.d.ts +1 -1
- package/preventable-events/preventable-event.d.ts +1 -1
- package/{kendo-angular-editor.d.ts → progress-kendo-angular-editor.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- package/tools/alignment/editor-align-center-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-justify-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-left-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-right-button.directive.d.ts +1 -1
- package/tools/blockquote/editor-blockquote-button.directive.d.ts +1 -1
- package/tools/colorpicker/editor-back-color.directive.d.ts +1 -1
- package/tools/colorpicker/editor-colorpicker.component.d.ts +1 -1
- package/tools/colorpicker/editor-fore-color.directive.d.ts +1 -1
- package/tools/editor-clean-formatting-button.directive.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize.component.d.ts +1 -1
- package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
- package/tools/format/editor-format.component.d.ts +1 -1
- package/tools/history/editor-redo-button.directive.d.ts +1 -1
- package/tools/history/editor-undo-button.directive.d.ts +1 -1
- package/tools/image/editor-insert-image-button.directive.d.ts +1 -1
- package/tools/indentation/editor-indent-button.directive.d.ts +1 -1
- package/tools/indentation/editor-outdent-button.directive.d.ts +1 -1
- package/tools/link/editor-create-link-button.directive.d.ts +1 -1
- package/tools/link/editor-insert-file-button.directive.d.ts +1 -1
- package/tools/link/editor-unlink-button.directive.d.ts +1 -1
- package/tools/list/editor-insert-ordered-list-button.directive.d.ts +1 -1
- package/tools/list/editor-insert-unordered-list-button.directive.d.ts +1 -1
- package/tools/print/editor-print-button.directive.d.ts +1 -1
- package/tools/select-all/select-all-button.directive.d.ts +1 -1
- package/tools/shared/dropdown-tool.directive.d.ts +1 -1
- package/tools/shared/editor-command-base.d.ts +1 -1
- package/tools/shared/editor-command-button.d.ts +1 -1
- package/tools/shared/editor-command-dialog.d.ts +1 -1
- package/tools/source/editor-view-source-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-column-after-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-column-before-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-row-after-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-row-before-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-column-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-row-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-table-button.directive.d.ts +1 -1
- package/tools/tables/editor-insert-table-button.component.d.ts +1 -1
- package/tools/tables/editor-merge-cells-button.directive.d.ts +1 -1
- package/tools/tables/editor-split-cell-button.directive.d.ts +1 -1
- package/tools/tables/popup-table-grid.component.d.ts +1 -1
- package/tools/tools.service.d.ts +1 -1
- package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +1 -1
- package/util.d.ts +1 -1
- package/bundles/kendo-angular-editor.umd.js +0 -5
- package/esm2015/common/direction.js +0 -5
- package/esm2015/common/font-family-item.interface.js +0 -5
- package/esm2015/common/font-size-item.interface.js +0 -5
- package/esm2015/common/format-item.interface.js +0 -5
- package/esm2015/common/image-data.interface.js +0 -5
- package/esm2015/common/link-data.interface.js +0 -5
- package/esm2015/common/paste-cleanup-settings.js +0 -5
- package/esm2015/common/plugins-function.js +0 -5
- package/esm2015/common/predicate.js +0 -5
- package/esm2015/common/resizable-options.interface.js +0 -5
- package/esm2015/common/table-data.interface.js +0 -5
- package/esm2015/preventable-events/paste-event-data.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -25,9 +29,9 @@ export class EditorDeleteColumnButtonDirective extends EditorCommandButton {
|
|
|
25
29
|
super('deleteColumn', button, localization, providerService, toolsService);
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
|
-
EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
EditorDeleteColumnButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorDeleteColumnButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
EditorDeleteColumnButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorDeleteColumnButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteColumnButton]", usesInheritance: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorDeleteColumnButtonDirective, decorators: [{
|
|
31
35
|
type: Directive,
|
|
32
36
|
args: [{
|
|
33
37
|
selector: 'kendo-toolbar-button[kendoEditorDeleteColumnButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -25,9 +29,9 @@ export class EditorDeleteRowButtonDirective extends EditorCommandButton {
|
|
|
25
29
|
super('deleteRow', button, localization, providerService, toolsService);
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
|
-
EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
EditorDeleteRowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorDeleteRowButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
EditorDeleteRowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorDeleteRowButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteRowButton]", usesInheritance: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorDeleteRowButtonDirective, decorators: [{
|
|
31
35
|
type: Directive,
|
|
32
36
|
args: [{
|
|
33
37
|
selector: 'kendo-toolbar-button[kendoEditorDeleteRowButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -25,9 +29,9 @@ export class EditorDeleteTableButtonDirective extends EditorCommandButton {
|
|
|
25
29
|
super('deleteTable', button, localization, providerService, toolsService);
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
|
-
EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
EditorDeleteTableButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorDeleteTableButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
EditorDeleteTableButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorDeleteTableButtonDirective, selector: "kendo-toolbar-button[kendoEditorDeleteTableButton]", usesInheritance: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorDeleteTableButtonDirective, decorators: [{
|
|
31
35
|
type: Directive,
|
|
32
36
|
args: [{
|
|
33
37
|
selector: 'kendo-toolbar-button[kendoEditorDeleteTableButton]'
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { Component, ViewChild, forwardRef, EventEmitter } from '@angular/core';
|
|
5
|
+
import { Component, TemplateRef, ViewChild, ElementRef, forwardRef, EventEmitter } from '@angular/core';
|
|
6
6
|
import { interval } from 'rxjs';
|
|
7
7
|
import { concatMap, take, takeUntil } from 'rxjs/operators';
|
|
8
8
|
import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
9
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
10
|
import { outerWidth } from '../../util';
|
|
11
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
12
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
10
13
|
import { InsertTableDialogComponent } from '../../dialogs/insert-table-dialog.component';
|
|
11
14
|
import { Keys } from '@progress/kendo-angular-common';
|
|
15
|
+
import { ProviderService } from '../../common/provider.service';
|
|
12
16
|
import * as i0 from "@angular/core";
|
|
13
17
|
import * as i1 from "../../localization/editor-localization.service";
|
|
14
18
|
import * as i2 from "@progress/kendo-angular-popup";
|
|
15
19
|
import * as i3 from "@progress/kendo-angular-dialog";
|
|
16
20
|
import * as i4 from "../../common/provider.service";
|
|
17
|
-
import * as i5 from "
|
|
18
|
-
import * as i6 from "
|
|
21
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
22
|
+
import * as i6 from "./popup-table-grid.component";
|
|
19
23
|
const popupWrapperWidth = '190px';
|
|
20
24
|
const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is added;
|
|
21
25
|
/**
|
|
@@ -154,8 +158,8 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
154
158
|
return (this.overflows ? this.overflowElement : this.element).nativeElement;
|
|
155
159
|
}
|
|
156
160
|
}
|
|
157
|
-
EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
161
|
+
EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: i1.EditorLocalizationService }, { token: i2.PopupService }, { token: i3.DialogService }, { token: i4.ProviderService }], target: i0.ɵɵFactoryTarget.Component });
|
|
162
|
+
EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorInsertTableButtonComponent, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
159
163
|
<ng-template #toolbarTemplate>
|
|
160
164
|
<button
|
|
161
165
|
type="button"
|
|
@@ -163,7 +167,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
163
167
|
#element
|
|
164
168
|
[attr.title]="title"
|
|
165
169
|
[attr.tabindex]="tabIndex"
|
|
166
|
-
|
|
170
|
+
icon="table-add"
|
|
167
171
|
[disabled]="disabled"
|
|
168
172
|
(click)="toggle()"
|
|
169
173
|
(blur)="onBlur()"
|
|
@@ -175,7 +179,7 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
175
179
|
#overflowElement
|
|
176
180
|
[attr.title]="title"
|
|
177
181
|
[attr.tabindex]="tabIndex"
|
|
178
|
-
|
|
182
|
+
icon="table-add"
|
|
179
183
|
[disabled]="disabled"
|
|
180
184
|
(click)="openDialog()">
|
|
181
185
|
{{ title }}
|
|
@@ -184,8 +188,8 @@ EditorInsertTableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
184
188
|
<ng-template #popupGridTemplate>
|
|
185
189
|
<kendo-popup-table-grid (cellClick)="onCellClick($event)" (tableWizardClick)="onTableWizardClick()"></kendo-popup-table-grid>
|
|
186
190
|
</ng-template>
|
|
187
|
-
`, isInline: true, components: [{ type: i5.
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
`, isInline: true, components: [{ type: i5.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i6.PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
|
|
189
193
|
type: Component,
|
|
190
194
|
args: [{
|
|
191
195
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }],
|
|
@@ -198,7 +202,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
198
202
|
#element
|
|
199
203
|
[attr.title]="title"
|
|
200
204
|
[attr.tabindex]="tabIndex"
|
|
201
|
-
|
|
205
|
+
icon="table-add"
|
|
202
206
|
[disabled]="disabled"
|
|
203
207
|
(click)="toggle()"
|
|
204
208
|
(blur)="onBlur()"
|
|
@@ -210,7 +214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
210
214
|
#overflowElement
|
|
211
215
|
[attr.title]="title"
|
|
212
216
|
[attr.tabindex]="tabIndex"
|
|
213
|
-
|
|
217
|
+
icon="table-add"
|
|
214
218
|
[disabled]="disabled"
|
|
215
219
|
(click)="openDialog()">
|
|
216
220
|
{{ title }}
|
|
@@ -226,13 +230,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
226
230
|
args: ['toolbarTemplate', { static: true }]
|
|
227
231
|
}], popupTemplate: [{
|
|
228
232
|
type: ViewChild,
|
|
229
|
-
args: ['popupTemplate'
|
|
233
|
+
args: ['popupTemplate']
|
|
230
234
|
}], element: [{
|
|
231
235
|
type: ViewChild,
|
|
232
|
-
args: ['element', {
|
|
236
|
+
args: ['element', { read: ElementRef }]
|
|
233
237
|
}], overflowElement: [{
|
|
234
238
|
type: ViewChild,
|
|
235
|
-
args: ['overflowElement', {
|
|
239
|
+
args: ['overflowElement', { read: ElementRef }]
|
|
236
240
|
}], popupGridTemplate: [{
|
|
237
241
|
type: ViewChild,
|
|
238
242
|
args: ['popupGridTemplate', { static: true }]
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -27,9 +31,9 @@ export class EditorMergeCellsButtonDirective extends EditorCommandButton {
|
|
|
27
31
|
super('mergeCells', button, localization, providerService, toolsService);
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
EditorMergeCellsButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorMergeCellsButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
EditorMergeCellsButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorMergeCellsButtonDirective, selector: "kendo-toolbar-button[kendoEditorMergeCellsButton]", usesInheritance: true, ngImport: i0 });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorMergeCellsButtonDirective, decorators: [{
|
|
33
37
|
type: Directive,
|
|
34
38
|
args: [{
|
|
35
39
|
selector: 'kendo-toolbar-button[kendoEditorMergeCellsButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -27,9 +31,9 @@ export class EditorSplitCellButtonDirective extends EditorCommandButton {
|
|
|
27
31
|
super('splitCell', button, localization, providerService, toolsService);
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
EditorSplitCellButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorSplitCellButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
EditorSplitCellButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorSplitCellButtonDirective, selector: "kendo-toolbar-button[kendoEditorSplitCellButton]", usesInheritance: true, ngImport: i0 });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorSplitCellButtonDirective, decorators: [{
|
|
33
37
|
type: Directive,
|
|
34
38
|
args: [{
|
|
35
39
|
selector: 'kendo-toolbar-button[kendoEditorSplitCellButton]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Component, Output, EventEmitter } from '@angular/core';
|
|
@@ -44,9 +44,9 @@ export class PopupTableGridComponent {
|
|
|
44
44
|
this.tableWizardClick.emit();
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
49
|
-
<div style
|
|
47
|
+
PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupTableGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
|
|
49
|
+
<div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
|
|
50
50
|
<span *ngFor="let i of cells"
|
|
51
51
|
class="k-ct-cell"
|
|
52
52
|
[class.k-selected]="selected(i)"
|
|
@@ -61,12 +61,12 @@ PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
61
61
|
</div>
|
|
62
62
|
-->
|
|
63
63
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupTableGridComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{
|
|
67
67
|
selector: 'kendo-popup-table-grid',
|
|
68
68
|
template: `
|
|
69
|
-
<div style
|
|
69
|
+
<div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
|
|
70
70
|
<span *ngFor="let i of cells"
|
|
71
71
|
class="k-ct-cell"
|
|
72
72
|
[class.k-selected]="selected(i)"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Injectable } from '@angular/core';
|
|
@@ -13,8 +13,8 @@ export class EditorToolsService {
|
|
|
13
13
|
this.needsCheck = new Subject();
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
EditorToolsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
EditorToolsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorToolsService, decorators: [{
|
|
19
19
|
type: Injectable
|
|
20
20
|
}] });
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorBoldButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('bold', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorBoldButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorBoldButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorBoldButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorBoldButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorBoldButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorBoldButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorItalicButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('italic', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorItalicButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorItalicButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorItalicButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorItalicButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorItalicButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorItalicButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorStrikethroughButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('strikethrough', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorStrikethroughButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorStrikethroughButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorStrikethroughButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorStrikethroughButtonDirective, selector: "kendo-toolbar-button[kendoEditorStrikethroughButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorStrikethroughButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorStrikethroughButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorSubscriptButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('subscript', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorSubscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorSubscriptButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorSubscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorSubscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSubscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorSubscriptButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorSubscriptButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorSuperscriptButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('superscript', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorSuperscriptButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorSuperscriptButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorSuperscriptButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorSuperscriptButtonDirective, selector: "kendo-toolbar-button[kendoEditorSuperscriptButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorSuperscriptButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorSuperscriptButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorUnderlineButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('underline', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorUnderlineButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorUnderlineButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorUnderlineButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorUnderlineButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorUnderlineButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorUnderlineButton]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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
5
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
@@ -91,7 +91,7 @@ export const getUniqueStyleValues = (style, cssStyle) => {
|
|
|
91
91
|
}
|
|
92
92
|
const uniqueMarkValues = style.marks
|
|
93
93
|
.filter(m => m.type.name === 'style')
|
|
94
|
-
.map(m => m.attrs
|
|
94
|
+
.map(m => m.attrs['style'])
|
|
95
95
|
.map(safeString)
|
|
96
96
|
.map(split(';'))
|
|
97
97
|
.map(filter((m) => m.includes(cssStyle)))
|