@progress/kendo-angular-editor 3.1.2 → 4.0.0-dev.202204140850
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/bundles/kendo-angular-editor.umd.js +5 -0
- package/{dist/es2015/common → common}/active-marks.d.ts +0 -0
- package/{dist/es2015/common → common}/apply-to-word-options.d.ts +0 -0
- package/{dist/es2015/common → common}/commands.d.ts +0 -0
- package/{dist/es2015/common → common}/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/error-messages.d.ts +0 -0
- package/{dist/es2015/common → common}/font-family-item.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/font-size-item.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/format-item.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/image-data.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/link-data.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/paste-cleanup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/plugins-function.d.ts +0 -1
- package/{dist/es2015/common → common}/predicate.d.ts +0 -0
- package/common/provider.service.d.ts +14 -0
- package/{dist/es2015/common → common}/resizable-options.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/styles.d.ts +0 -0
- package/{dist/es2015/common → common}/table-data.interface.d.ts +0 -0
- package/{dist/es2015/config → config}/command-icons.d.ts +0 -0
- package/{dist/es2015/config → config}/commands.d.ts +0 -0
- package/{dist/es2015/config → config}/schema.d.ts +0 -0
- package/{dist/es2015/config → config}/semantic-nodes.d.ts +0 -0
- package/{dist/es2015/config → config}/table-commands.d.ts +0 -0
- package/{dist/es2015/config → config}/utils.d.ts +8 -8
- package/{dist/es2015/dialogs → dialogs}/colorpicker-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/file-link-dialog.component.d.ts +4 -1
- package/{dist/es2015/dialogs → dialogs}/font-family-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/font-size-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/format-dialog.component.d.ts +4 -1
- package/{dist/es2015/dialogs → dialogs}/image-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/insert-table-dialog.component.d.ts +5 -4
- package/{dist/es2015/dialogs → dialogs}/source-dialog.component.d.ts +3 -0
- package/{dist/es2015/editor-toolbar-state.d.ts → editor-toolbar-state.d.ts} +1 -1
- package/{dist/es2015/editor.component.d.ts → editor.component.d.ts} +32 -20
- package/editor.module.d.ts +113 -0
- package/{dist/es2015 → esm2015}/common/active-marks.js +1 -0
- package/{dist/es2015 → esm2015}/common/apply-to-word-options.js +1 -0
- package/{dist/es → esm2015}/common/commands.js +1 -0
- package/{dist/es2015 → esm2015}/common/direction.js +1 -0
- package/{dist/es2015 → esm2015}/common/error-messages.js +2 -5
- package/{dist/es → esm2015}/common/font-family-item.interface.js +1 -0
- package/{dist/es → esm2015}/common/font-size-item.interface.js +1 -0
- package/{dist/es → esm2015}/common/format-item.interface.js +1 -0
- package/{dist/es → esm2015}/common/image-data.interface.js +1 -0
- package/{dist/es → esm2015}/common/link-data.interface.js +1 -0
- package/{dist/es → esm2015}/common/paste-cleanup-settings.js +1 -0
- package/{dist/es → esm2015}/common/plugins-function.js +1 -0
- package/{dist/es → esm2015}/common/predicate.js +1 -0
- package/esm2015/common/provider.service.js +16 -0
- package/{dist/es → esm2015}/common/resizable-options.interface.js +1 -0
- package/{dist/es2015 → esm2015}/common/styles.js +0 -0
- package/{dist/es → esm2015}/common/table-data.interface.js +1 -0
- package/{dist/es2015 → esm2015}/config/command-icons.js +0 -0
- package/esm2015/config/commands.js +62 -0
- package/{dist/es2015 → esm2015}/config/schema.js +0 -0
- package/{dist/es2015 → esm2015}/config/semantic-nodes.js +1 -4
- package/{dist/es2015 → esm2015}/config/table-commands.js +0 -0
- package/{dist/es2015 → esm2015}/config/utils.js +1 -1
- package/esm2015/dialogs/colorpicker-dialog.component.js +117 -0
- package/esm2015/dialogs/file-link-dialog.component.js +209 -0
- package/esm2015/dialogs/font-family-dialog.component.js +106 -0
- package/esm2015/dialogs/font-size-dialog.component.js +106 -0
- package/esm2015/dialogs/format-dialog.component.js +106 -0
- package/{dist/es2015 → esm2015}/dialogs/image-dialog.component.js +60 -21
- package/esm2015/dialogs/insert-table-dialog.component.js +74 -0
- package/esm2015/dialogs/source-dialog.component.js +89 -0
- package/{dist/es2015 → esm2015}/editor-toolbar-state.js +0 -0
- package/{dist/es2015 → esm2015}/editor.component.js +331 -200
- package/{dist/es2015 → esm2015}/editor.module.js +205 -31
- package/{dist/es/common/active-marks.js → esm2015/kendo-angular-editor.js} +4 -0
- package/esm2015/localization/custom-messages.component.js +41 -0
- package/esm2015/localization/editor-localization.service.js +31 -0
- package/esm2015/localization/localized-messages.directive.js +32 -0
- package/esm2015/localization/messages.js +126 -0
- package/{dist/es2015/index.js → esm2015/main.js} +37 -47
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es → esm2015}/preventable-events/paste-event-data.js +1 -0
- package/{dist/es2015 → esm2015}/preventable-events/paste-event.js +1 -1
- package/esm2015/preventable-events/preventable-event.js +27 -0
- package/esm2015/tools/alignment/editor-align-center-button.directive.js +42 -0
- package/esm2015/tools/alignment/editor-align-justify-button.directive.js +42 -0
- package/esm2015/tools/alignment/editor-align-left-button.directive.js +42 -0
- package/esm2015/tools/alignment/editor-align-right-button.directive.js +42 -0
- package/esm2015/tools/blockquote/editor-blockquote-button.directive.js +41 -0
- package/esm2015/tools/colorpicker/editor-back-color.directive.js +28 -0
- package/esm2015/tools/colorpicker/editor-colorpicker.component.js +262 -0
- package/esm2015/tools/colorpicker/editor-fore-color.directive.js +28 -0
- package/esm2015/tools/editor-clean-formatting-button.directive.js +41 -0
- package/esm2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +104 -0
- package/{dist/es2015 → esm2015}/tools/fontfamily/editor-fontfamily.component.js +73 -57
- package/esm2015/tools/fontsize/editor-fontsize-dropdownlist.component.js +93 -0
- package/{dist/es2015 → esm2015}/tools/fontsize/editor-fontsize.component.js +72 -54
- package/esm2015/tools/format/editor-format-dropdownlist.component.js +160 -0
- package/{dist/es2015 → esm2015}/tools/format/editor-format.component.js +69 -51
- package/esm2015/tools/history/editor-redo-button.directive.js +42 -0
- package/esm2015/tools/history/editor-undo-button.directive.js +42 -0
- package/esm2015/tools/image/editor-insert-image-button.directive.js +41 -0
- package/esm2015/tools/indentation/editor-indent-button.directive.js +42 -0
- package/esm2015/tools/indentation/editor-outdent-button.directive.js +42 -0
- package/esm2015/tools/link/editor-create-link-button.directive.js +42 -0
- package/esm2015/tools/link/editor-insert-file-button.directive.js +34 -0
- package/esm2015/tools/link/editor-unlink-button.directive.js +42 -0
- package/esm2015/tools/list/editor-insert-ordered-list-button.directive.js +42 -0
- package/esm2015/tools/list/editor-insert-unordered-list-button.directive.js +42 -0
- package/{dist/es2015 → esm2015}/tools/print/editor-print-button.directive.js +18 -22
- package/esm2015/tools/select-all/select-all-button.directive.js +45 -0
- package/{dist/es2015 → esm2015}/tools/shared/dropdown-tool.directive.js +10 -10
- package/esm2015/tools/shared/editor-command-base.js +64 -0
- package/{dist/es2015 → esm2015}/tools/shared/editor-command-button.js +5 -5
- package/{dist/es2015 → esm2015}/tools/shared/editor-command-dialog.js +4 -5
- package/esm2015/tools/source/editor-view-source-button.directive.js +41 -0
- package/esm2015/tools/tables/editor-add-column-after-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-add-column-before-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-add-row-after-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-add-row-before-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-delete-column-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-delete-row-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-delete-table-button.directive.js +35 -0
- package/{dist/es2015 → esm2015}/tools/tables/editor-insert-table-button.component.js +66 -45
- package/esm2015/tools/tables/editor-merge-cells-button.directive.js +37 -0
- package/esm2015/tools/tables/editor-split-cell-button.directive.js +37 -0
- package/{dist/es2015 → esm2015}/tools/tables/popup-table-grid.component.js +32 -21
- package/esm2015/tools/tools.service.js +20 -0
- package/esm2015/tools/typographical-emphasis/editor-bold-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-italic-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-subscript-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-superscript-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-underline-button.directive.js +42 -0
- package/{dist/es2015 → esm2015}/util.js +8 -0
- package/fesm2015/kendo-angular-editor.js +6396 -0
- package/kendo-angular-editor.d.ts +9 -0
- package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +6 -3
- package/{dist/es2015/localization → localization}/editor-localization.service.d.ts +3 -0
- package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +5 -2
- package/{dist/es2015/localization → localization}/messages.d.ts +4 -1
- package/{dist/es/index.js → main.d.ts} +39 -47
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +44 -121
- package/{dist/es2015/preventable-events → preventable-events}/paste-event-data.d.ts +0 -0
- package/{dist/es2015/preventable-events → preventable-events}/paste-event.d.ts +1 -1
- package/preventable-events/preventable-event.d.ts +21 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/tools → tools}/alignment/editor-align-center-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/alignment/editor-align-justify-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/alignment/editor-align-left-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/alignment/editor-align-right-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/blockquote/editor-blockquote-button.directive.d.ts +5 -3
- package/{dist/es2015/tools → tools}/colorpicker/editor-back-color.directive.d.ts +3 -0
- package/{dist/es2015/tools → tools}/colorpicker/editor-colorpicker.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/colorpicker/editor-fore-color.directive.d.ts +3 -0
- package/{dist/es2015/tools → tools}/editor-clean-formatting-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/fontfamily/editor-fontfamily.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/fontsize/editor-fontsize-dropdownlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/fontsize/editor-fontsize.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/format/editor-format-dropdownlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/format/editor-format.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/history/editor-redo-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/history/editor-undo-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/image/editor-insert-image-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/indentation/editor-indent-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/indentation/editor-outdent-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/link/editor-create-link-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/link/editor-insert-file-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/link/editor-unlink-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/list/editor-insert-ordered-list-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/list/editor-insert-unordered-list-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/print/editor-print-button.directive.d.ts +5 -3
- package/{dist/es2015/tools → tools}/select-all/select-all-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/shared/dropdown-tool.directive.d.ts +4 -1
- package/{dist/es2015/tools → tools}/shared/editor-command-base.d.ts +8 -4
- package/{dist/es2015/tools → tools}/shared/editor-command-button.d.ts +5 -5
- package/{dist/es2015/tools → tools}/shared/editor-command-dialog.d.ts +4 -5
- package/{dist/es2015/tools → tools}/source/editor-view-source-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-column-after-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-column-before-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-row-after-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-row-before-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-delete-column-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-delete-row-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-delete-table-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-insert-table-button.component.d.ts +10 -9
- package/{dist/es2015/tools → tools}/tables/editor-merge-cells-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-split-cell-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/popup-table-grid.component.d.ts +7 -6
- package/{dist/es2015/tools → tools}/tools.service.d.ts +3 -0
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-bold-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-italic-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-strikethrough-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-subscript-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-superscript-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-underline-button.directive.d.ts +5 -2
- package/{dist/es2015/util.d.ts → util.d.ts} +7 -0
- package/dist/cdn/js/kendo-angular-editor.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/apply-to-word-options.js +0 -4
- package/dist/es/common/direction.js +0 -4
- package/dist/es/common/error-messages.js +0 -19
- package/dist/es/common/styles.js +0 -16
- package/dist/es/config/command-icons.js +0 -48
- package/dist/es/config/commands.js +0 -71
- package/dist/es/config/schema.js +0 -22
- package/dist/es/config/semantic-nodes.js +0 -32
- package/dist/es/config/table-commands.js +0 -14
- package/dist/es/config/utils.js +0 -102
- package/dist/es/dialogs/colorpicker-dialog.component.js +0 -70
- package/dist/es/dialogs/file-link-dialog.component.js +0 -126
- package/dist/es/dialogs/font-family-dialog.component.js +0 -65
- package/dist/es/dialogs/font-size-dialog.component.js +0 -65
- package/dist/es/dialogs/format-dialog.component.js +0 -65
- package/dist/es/dialogs/image-dialog.component.js +0 -102
- package/dist/es/dialogs/insert-table-dialog.component.js +0 -49
- package/dist/es/dialogs/source-dialog.component.js +0 -72
- package/dist/es/editor-toolbar-state.js +0 -280
- package/dist/es/editor.component.js +0 -1039
- package/dist/es/editor.module.js +0 -241
- package/dist/es/localization/custom-messages.component.js +0 -45
- package/dist/es/localization/editor-localization.service.js +0 -24
- package/dist/es/localization/localized-messages.directive.js +0 -36
- package/dist/es/localization/messages.js +0 -230
- package/dist/es/main.js +0 -9
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/preventable-events/paste-event.js +0 -25
- package/dist/es/tools/alignment/editor-align-center-button.directive.js +0 -47
- package/dist/es/tools/alignment/editor-align-justify-button.directive.js +0 -47
- package/dist/es/tools/alignment/editor-align-left-button.directive.js +0 -47
- package/dist/es/tools/alignment/editor-align-right-button.directive.js +0 -47
- package/dist/es/tools/blockquote/editor-blockquote-button.directive.js +0 -48
- package/dist/es/tools/colorpicker/editor-back-color.directive.js +0 -28
- package/dist/es/tools/colorpicker/editor-colorpicker.component.js +0 -233
- package/dist/es/tools/colorpicker/editor-fore-color.directive.js +0 -28
- package/dist/es/tools/editor-clean-formatting-button.directive.js +0 -46
- package/dist/es/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +0 -71
- package/dist/es/tools/fontfamily/editor-fontfamily.component.js +0 -211
- package/dist/es/tools/fontsize/editor-fontsize-dropdownlist.component.js +0 -71
- package/dist/es/tools/fontsize/editor-fontsize.component.js +0 -206
- package/dist/es/tools/format/editor-format-dropdownlist.component.js +0 -71
- package/dist/es/tools/format/editor-format.component.js +0 -202
- package/dist/es/tools/history/editor-redo-button.directive.js +0 -47
- package/dist/es/tools/history/editor-undo-button.directive.js +0 -47
- package/dist/es/tools/image/editor-insert-image-button.directive.js +0 -46
- package/dist/es/tools/indentation/editor-indent-button.directive.js +0 -47
- package/dist/es/tools/indentation/editor-outdent-button.directive.js +0 -47
- package/dist/es/tools/link/editor-create-link-button.directive.js +0 -47
- package/dist/es/tools/link/editor-insert-file-button.directive.js +0 -39
- package/dist/es/tools/link/editor-unlink-button.directive.js +0 -47
- package/dist/es/tools/list/editor-insert-ordered-list-button.directive.js +0 -47
- package/dist/es/tools/list/editor-insert-unordered-list-button.directive.js +0 -47
- package/dist/es/tools/print/editor-print-button.directive.js +0 -69
- package/dist/es/tools/select-all/select-all-button.directive.js +0 -50
- package/dist/es/tools/shared/dropdown-tool.directive.js +0 -41
- package/dist/es/tools/shared/editor-command-base.js +0 -49
- package/dist/es/tools/shared/editor-command-button.js +0 -34
- package/dist/es/tools/shared/editor-command-dialog.js +0 -30
- package/dist/es/tools/source/editor-view-source-button.directive.js +0 -46
- package/dist/es/tools/tables/editor-add-column-after-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-add-column-before-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-add-row-after-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-add-row-before-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-delete-column-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-delete-row-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-delete-table-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-insert-table-button.component.js +0 -202
- package/dist/es/tools/tables/editor-merge-cells-button.directive.js +0 -42
- package/dist/es/tools/tables/editor-split-cell-button.directive.js +0 -42
- package/dist/es/tools/tables/popup-table-grid.component.js +0 -69
- package/dist/es/tools/tools.service.js +0 -20
- package/dist/es/tools/typographical-emphasis/editor-bold-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-italic-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-strikethrough-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-subscript-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-superscript-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-underline-button.directive.js +0 -47
- package/dist/es/util.js +0 -127
- package/dist/es2015/common/commands.js +0 -4
- package/dist/es2015/common/font-family-item.interface.js +0 -4
- package/dist/es2015/common/font-size-item.interface.js +0 -4
- package/dist/es2015/common/format-item.interface.js +0 -4
- package/dist/es2015/common/image-data.interface.js +0 -4
- package/dist/es2015/common/link-data.interface.js +0 -4
- package/dist/es2015/common/paste-cleanup-settings.js +0 -4
- package/dist/es2015/common/plugins-function.js +0 -4
- package/dist/es2015/common/predicate.js +0 -4
- package/dist/es2015/common/resizable-options.interface.js +0 -4
- package/dist/es2015/common/table-data.interface.js +0 -4
- package/dist/es2015/config/commands.js +0 -67
- package/dist/es2015/dialogs/colorpicker-dialog.component.js +0 -92
- package/dist/es2015/dialogs/file-link-dialog.component.js +0 -163
- package/dist/es2015/dialogs/font-family-dialog.component.js +0 -84
- package/dist/es2015/dialogs/font-size-dialog.component.js +0 -84
- package/dist/es2015/dialogs/format-dialog.component.js +0 -84
- package/dist/es2015/dialogs/insert-table-dialog.component.js +0 -60
- package/dist/es2015/dialogs/source-dialog.component.js +0 -81
- package/dist/es2015/editor.module.d.ts +0 -45
- package/dist/es2015/index.d.ts +0 -72
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/custom-messages.component.js +0 -37
- package/dist/es2015/localization/editor-localization.service.js +0 -22
- package/dist/es2015/localization/localized-messages.directive.js +0 -32
- package/dist/es2015/localization/messages.js +0 -224
- package/dist/es2015/main.d.ts +0 -13
- package/dist/es2015/main.js +0 -9
- package/dist/es2015/preventable-events/paste-event-data.js +0 -4
- package/dist/es2015/tools/alignment/editor-align-center-button.directive.js +0 -45
- package/dist/es2015/tools/alignment/editor-align-justify-button.directive.js +0 -45
- package/dist/es2015/tools/alignment/editor-align-left-button.directive.js +0 -45
- package/dist/es2015/tools/alignment/editor-align-right-button.directive.js +0 -45
- package/dist/es2015/tools/blockquote/editor-blockquote-button.directive.js +0 -45
- package/dist/es2015/tools/colorpicker/editor-back-color.directive.js +0 -27
- package/dist/es2015/tools/colorpicker/editor-colorpicker.component.js +0 -249
- package/dist/es2015/tools/colorpicker/editor-fore-color.directive.js +0 -27
- package/dist/es2015/tools/editor-clean-formatting-button.directive.js +0 -44
- package/dist/es2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +0 -99
- package/dist/es2015/tools/fontsize/editor-fontsize-dropdownlist.component.js +0 -94
- package/dist/es2015/tools/format/editor-format-dropdownlist.component.js +0 -127
- package/dist/es2015/tools/history/editor-redo-button.directive.js +0 -45
- package/dist/es2015/tools/history/editor-undo-button.directive.js +0 -45
- package/dist/es2015/tools/image/editor-insert-image-button.directive.js +0 -44
- package/dist/es2015/tools/indentation/editor-indent-button.directive.js +0 -45
- package/dist/es2015/tools/indentation/editor-outdent-button.directive.js +0 -45
- package/dist/es2015/tools/link/editor-create-link-button.directive.js +0 -45
- package/dist/es2015/tools/link/editor-insert-file-button.directive.js +0 -37
- package/dist/es2015/tools/link/editor-unlink-button.directive.js +0 -45
- package/dist/es2015/tools/list/editor-insert-ordered-list-button.directive.js +0 -45
- package/dist/es2015/tools/list/editor-insert-unordered-list-button.directive.js +0 -45
- package/dist/es2015/tools/select-all/select-all-button.directive.js +0 -48
- package/dist/es2015/tools/shared/editor-command-base.js +0 -46
- package/dist/es2015/tools/source/editor-view-source-button.directive.js +0 -44
- package/dist/es2015/tools/tables/editor-add-column-after-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-add-column-before-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-add-row-after-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-add-row-before-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-delete-column-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-delete-row-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-delete-table-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-merge-cells-button.directive.js +0 -40
- package/dist/es2015/tools/tables/editor-split-cell-button.directive.js +0 -40
- package/dist/es2015/tools/tools.service.js +0 -22
- package/dist/es2015/tools/typographical-emphasis/editor-bold-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-italic-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-subscript-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-superscript-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-underline-button.directive.js +0 -45
- package/dist/fesm2015/index.js +0 -5842
- package/dist/fesm5/index.js +0 -5300
- package/dist/npm/common/active-marks.js +0 -6
- package/dist/npm/common/apply-to-word-options.js +0 -6
- package/dist/npm/common/commands.js +0 -6
- package/dist/npm/common/direction.js +0 -6
- package/dist/npm/common/error-messages.js +0 -22
- package/dist/npm/common/font-family-item.interface.js +0 -6
- package/dist/npm/common/font-size-item.interface.js +0 -6
- package/dist/npm/common/format-item.interface.js +0 -6
- package/dist/npm/common/image-data.interface.js +0 -6
- package/dist/npm/common/link-data.interface.js +0 -6
- package/dist/npm/common/paste-cleanup-settings.js +0 -6
- package/dist/npm/common/plugins-function.js +0 -6
- package/dist/npm/common/predicate.js +0 -6
- package/dist/npm/common/resizable-options.interface.js +0 -6
- package/dist/npm/common/styles.js +0 -18
- package/dist/npm/common/table-data.interface.js +0 -6
- package/dist/npm/config/command-icons.js +0 -50
- package/dist/npm/config/commands.js +0 -112
- package/dist/npm/config/schema.js +0 -21
- package/dist/npm/config/semantic-nodes.js +0 -35
- package/dist/npm/config/table-commands.js +0 -16
- package/dist/npm/config/utils.js +0 -104
- package/dist/npm/dialogs/colorpicker-dialog.component.js +0 -72
- package/dist/npm/dialogs/file-link-dialog.component.js +0 -128
- package/dist/npm/dialogs/font-family-dialog.component.js +0 -67
- package/dist/npm/dialogs/font-size-dialog.component.js +0 -67
- package/dist/npm/dialogs/format-dialog.component.js +0 -67
- package/dist/npm/dialogs/image-dialog.component.js +0 -104
- package/dist/npm/dialogs/insert-table-dialog.component.js +0 -51
- package/dist/npm/dialogs/source-dialog.component.js +0 -74
- package/dist/npm/editor-toolbar-state.js +0 -282
- package/dist/npm/editor.component.js +0 -1041
- package/dist/npm/editor.module.js +0 -243
- package/dist/npm/index.js +0 -138
- package/dist/npm/localization/custom-messages.component.js +0 -47
- package/dist/npm/localization/editor-localization.service.js +0 -26
- package/dist/npm/localization/localized-messages.directive.js +0 -38
- package/dist/npm/localization/messages.js +0 -232
- package/dist/npm/main.js +0 -38
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/preventable-events/paste-event-data.js +0 -6
- package/dist/npm/preventable-events/paste-event.js +0 -27
- package/dist/npm/tools/alignment/editor-align-center-button.directive.js +0 -49
- package/dist/npm/tools/alignment/editor-align-justify-button.directive.js +0 -49
- package/dist/npm/tools/alignment/editor-align-left-button.directive.js +0 -49
- package/dist/npm/tools/alignment/editor-align-right-button.directive.js +0 -49
- package/dist/npm/tools/blockquote/editor-blockquote-button.directive.js +0 -50
- package/dist/npm/tools/colorpicker/editor-back-color.directive.js +0 -30
- package/dist/npm/tools/colorpicker/editor-colorpicker.component.js +0 -235
- package/dist/npm/tools/colorpicker/editor-fore-color.directive.js +0 -30
- package/dist/npm/tools/editor-clean-formatting-button.directive.js +0 -48
- package/dist/npm/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +0 -73
- package/dist/npm/tools/fontfamily/editor-fontfamily.component.js +0 -213
- package/dist/npm/tools/fontsize/editor-fontsize-dropdownlist.component.js +0 -73
- package/dist/npm/tools/fontsize/editor-fontsize.component.js +0 -208
- package/dist/npm/tools/format/editor-format-dropdownlist.component.js +0 -73
- package/dist/npm/tools/format/editor-format.component.js +0 -204
- package/dist/npm/tools/history/editor-redo-button.directive.js +0 -49
- package/dist/npm/tools/history/editor-undo-button.directive.js +0 -49
- package/dist/npm/tools/image/editor-insert-image-button.directive.js +0 -48
- package/dist/npm/tools/indentation/editor-indent-button.directive.js +0 -49
- package/dist/npm/tools/indentation/editor-outdent-button.directive.js +0 -49
- package/dist/npm/tools/link/editor-create-link-button.directive.js +0 -49
- package/dist/npm/tools/link/editor-insert-file-button.directive.js +0 -41
- package/dist/npm/tools/link/editor-unlink-button.directive.js +0 -49
- package/dist/npm/tools/list/editor-insert-ordered-list-button.directive.js +0 -49
- package/dist/npm/tools/list/editor-insert-unordered-list-button.directive.js +0 -49
- package/dist/npm/tools/print/editor-print-button.directive.js +0 -71
- package/dist/npm/tools/select-all/select-all-button.directive.js +0 -52
- package/dist/npm/tools/shared/dropdown-tool.directive.js +0 -43
- package/dist/npm/tools/shared/editor-command-base.js +0 -51
- package/dist/npm/tools/shared/editor-command-button.js +0 -36
- package/dist/npm/tools/shared/editor-command-dialog.js +0 -32
- package/dist/npm/tools/source/editor-view-source-button.directive.js +0 -48
- package/dist/npm/tools/tables/editor-add-column-after-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-add-column-before-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-add-row-after-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-add-row-before-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-delete-column-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-delete-row-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-delete-table-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-insert-table-button.component.js +0 -204
- package/dist/npm/tools/tables/editor-merge-cells-button.directive.js +0 -44
- package/dist/npm/tools/tables/editor-split-cell-button.directive.js +0 -44
- package/dist/npm/tools/tables/popup-table-grid.component.js +0 -71
- package/dist/npm/tools/tools.service.js +0 -22
- package/dist/npm/tools/typographical-emphasis/editor-bold-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-italic-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-strikethrough-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-subscript-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-superscript-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-underline-button.directive.js +0 -49
- package/dist/npm/util.js +0 -130
- package/dist/systemjs/kendo-angular-editor.js +0 -5
|
@@ -4,24 +4,28 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
|
+
import type { EditorComponent } from '../../editor.component';
|
|
8
8
|
import { EditorCommand, DialogCommand, EditorInternalCommand } from '../../common/commands';
|
|
9
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
11
|
import { EditorToolsService } from '../tools.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
11
13
|
/**
|
|
12
14
|
* @hidden
|
|
13
15
|
*/
|
|
14
|
-
export declare abstract class
|
|
16
|
+
export declare abstract class EditorCommandBaseDirective {
|
|
15
17
|
protected command: DialogCommand | EditorCommand | EditorInternalCommand;
|
|
16
18
|
protected button: ToolBarButtonComponent;
|
|
17
|
-
protected editor: EditorComponent;
|
|
18
19
|
protected localization: LocalizationService;
|
|
19
20
|
protected toolsService: EditorToolsService;
|
|
20
21
|
protected subs: Subscription;
|
|
21
|
-
|
|
22
|
+
protected editor: EditorComponent;
|
|
23
|
+
constructor(command: DialogCommand | EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
22
24
|
ngOnInit(): void;
|
|
23
25
|
ngOnDestroy(): void;
|
|
24
26
|
protected clickHandler(): void;
|
|
25
27
|
protected pointerdownHandler(_event: PointerEvent): void;
|
|
26
28
|
protected onStateChange(_toolBarState: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorCommandBaseDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorCommandBaseDirective, "[kendoEditorCommandBase]", never, {}, {}, never>;
|
|
27
31
|
}
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
6
|
import { EditorCommand, EditorInternalCommand } from '../../common/commands';
|
|
7
|
-
import {
|
|
8
|
-
import { EditorCommandBase } from './editor-command-base';
|
|
7
|
+
import { EditorCommandBaseDirective } from './editor-command-base';
|
|
9
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import { ProviderService } from '../../common/provider.service';
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
|
-
export declare abstract class EditorCommandButton extends
|
|
14
|
+
export declare abstract class EditorCommandButton extends EditorCommandBaseDirective {
|
|
15
15
|
protected command: EditorCommand | EditorInternalCommand;
|
|
16
16
|
protected button: ToolBarButtonComponent;
|
|
17
|
-
protected editor: EditorComponent;
|
|
18
17
|
protected localization: LocalizationService;
|
|
18
|
+
protected providerService: ProviderService;
|
|
19
19
|
protected toolsService: EditorToolsService;
|
|
20
|
-
constructor(command: EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent,
|
|
20
|
+
constructor(command: EditorCommand | EditorInternalCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
21
21
|
protected clickHandler(): void;
|
|
22
22
|
protected pointerdownHandler(e: PointerEvent): void;
|
|
23
23
|
protected onStateChange(toolBarState: any): void;
|
|
@@ -4,20 +4,19 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
6
|
import { DialogCommand } from '../../common/commands';
|
|
7
|
-
import {
|
|
8
|
-
import { EditorCommandBase } from './editor-command-base';
|
|
7
|
+
import { EditorCommandBaseDirective } from './editor-command-base';
|
|
9
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
10
|
import { EditorToolsService } from '../tools.service';
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
|
-
export declare abstract class EditorCommandDialog extends
|
|
14
|
+
export declare abstract class EditorCommandDialog extends EditorCommandBaseDirective {
|
|
15
15
|
protected dialog: DialogCommand;
|
|
16
16
|
protected button: ToolBarButtonComponent;
|
|
17
|
-
protected editor: EditorComponent;
|
|
18
17
|
protected localization: LocalizationService;
|
|
19
18
|
protected toolsService: EditorToolsService;
|
|
20
|
-
constructor(dialog: DialogCommand, button: ToolBarButtonComponent,
|
|
19
|
+
constructor(dialog: DialogCommand, button: ToolBarButtonComponent, localization: LocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
21
20
|
protected clickHandler(): void;
|
|
22
21
|
protected onStateChange(toolBarState: any): void;
|
|
23
22
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandDialog } from '../shared/editor-command-dialog';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor ViewSource tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -25,5 +26,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
28
|
export declare class EditorViewSourceButtonDirective extends EditorCommandDialog {
|
|
28
|
-
constructor(button: ToolBarButtonComponent,
|
|
29
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorViewSourceButtonDirective, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorViewSourceButtonDirective, "kendo-toolbar-button[kendoEditorViewSourceButton]", never, {}, {}, never>;
|
|
29
32
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor AddColumnAfter tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorAddColumnAfterButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddColumnAfterButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddColumnAfterButtonDirective, "kendo-toolbar-button[kendoEditorAddColumnAfterButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor AddColumnBefore tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorAddColumnBeforeButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddColumnBeforeButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddColumnBeforeButtonDirective, "kendo-toolbar-button[kendoEditorAddColumnBeforeButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor AddRowAfter tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorAddRowAfterButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddRowAfterButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddRowAfterButtonDirective, "kendo-toolbar-button[kendoEditorAddRowAfterButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor AddRowBefore tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorAddRowBeforeButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorAddRowBeforeButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorAddRowBeforeButtonDirective, "kendo-toolbar-button[kendoEditorAddRowBeforeButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor DeleteColumn tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorDeleteColumnButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorDeleteColumnButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorDeleteColumnButtonDirective, "kendo-toolbar-button[kendoEditorDeleteColumnButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor DeleteRow tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorDeleteRowButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorDeleteRowButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorDeleteRowButtonDirective, "kendo-toolbar-button[kendoEditorDeleteRowButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor DeleteTable tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -19,5 +20,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
22
|
export declare class EditorDeleteTableButtonDirective extends EditorCommandButton {
|
|
22
|
-
constructor(button: ToolBarButtonComponent,
|
|
23
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorDeleteTableButtonDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorDeleteTableButtonDirective, "kendo-toolbar-button[kendoEditorDeleteTableButton]", never, {}, {}, never>;
|
|
23
26
|
}
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
import { TemplateRef, ElementRef, OnDestroy } from '@angular/core';
|
|
6
6
|
import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
7
7
|
import { PopupRef, PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { EditorComponent } from '../../editor.component';
|
|
9
8
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
10
9
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
10
|
+
import { ProviderService } from '../../common/provider.service';
|
|
11
|
+
import { TableData } from '../../common/table-data.interface';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
11
13
|
/**
|
|
12
14
|
* A toolbar component which allows the user to create and insert a table in the Editor's content.
|
|
13
15
|
*
|
|
@@ -17,7 +19,6 @@ import { DialogService } from '@progress/kendo-angular-dialog';
|
|
|
17
19
|
* ```
|
|
18
20
|
*/
|
|
19
21
|
export declare class EditorInsertTableButtonComponent extends ToolBarToolComponent implements OnDestroy {
|
|
20
|
-
private editor;
|
|
21
22
|
private localization;
|
|
22
23
|
private popupService;
|
|
23
24
|
private dialogService;
|
|
@@ -38,10 +39,11 @@ export declare class EditorInsertTableButtonComponent extends ToolBarToolCompone
|
|
|
38
39
|
private buttonBlurred;
|
|
39
40
|
private cellClicked;
|
|
40
41
|
private subs;
|
|
41
|
-
|
|
42
|
+
private editor;
|
|
43
|
+
constructor(localization: EditorLocalizationService, popupService: PopupService, dialogService: DialogService, providerService: ProviderService);
|
|
42
44
|
ngOnDestroy(): void;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
get outerWidth(): number;
|
|
46
|
+
get title(): string;
|
|
45
47
|
/**
|
|
46
48
|
* @hidden
|
|
47
49
|
*/
|
|
@@ -57,10 +59,7 @@ export declare class EditorInsertTableButtonComponent extends ToolBarToolCompone
|
|
|
57
59
|
/**
|
|
58
60
|
* @hidden
|
|
59
61
|
*/
|
|
60
|
-
onCellClick(args:
|
|
61
|
-
rows: number;
|
|
62
|
-
cells: number;
|
|
63
|
-
}): void;
|
|
62
|
+
onCellClick(args: TableData): void;
|
|
64
63
|
/**
|
|
65
64
|
* @hidden
|
|
66
65
|
*/
|
|
@@ -80,4 +79,6 @@ export declare class EditorInsertTableButtonComponent extends ToolBarToolCompone
|
|
|
80
79
|
private createPopup;
|
|
81
80
|
private destroyPopup;
|
|
82
81
|
private getButton;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorInsertTableButtonComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorInsertTableButtonComponent, "kendo-editor-insert-table-button", never, {}, {}, never, never>;
|
|
83
84
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*
|
|
@@ -21,5 +22,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
21
22
|
* ```
|
|
22
23
|
*/
|
|
23
24
|
export declare class EditorMergeCellsButtonDirective extends EditorCommandButton {
|
|
24
|
-
constructor(button: ToolBarButtonComponent,
|
|
25
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorMergeCellsButtonDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorMergeCellsButtonDirective, "kendo-toolbar-button[kendoEditorMergeCellsButton]", never, {}, {}, never>;
|
|
25
28
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*
|
|
@@ -21,5 +22,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
21
22
|
* ```
|
|
22
23
|
*/
|
|
23
24
|
export declare class EditorSplitCellButtonDirective extends EditorCommandButton {
|
|
24
|
-
constructor(button: ToolBarButtonComponent,
|
|
25
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorSplitCellButtonDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSplitCellButtonDirective, "kendo-toolbar-button[kendoEditorSplitCellButton]", never, {}, {}, never>;
|
|
25
28
|
}
|
|
@@ -3,23 +3,24 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
|
+
import { TableData } from '../../common/table-data.interface';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
6
8
|
/**
|
|
7
9
|
* @hidden
|
|
8
10
|
*/
|
|
9
11
|
export declare class PopupTableGridComponent {
|
|
10
|
-
cellClick: EventEmitter<
|
|
11
|
-
rows: number;
|
|
12
|
-
cels: number;
|
|
13
|
-
}>;
|
|
12
|
+
cellClick: EventEmitter<TableData>;
|
|
14
13
|
tableWizardClick: EventEmitter<any>;
|
|
15
14
|
private state;
|
|
16
15
|
private rows;
|
|
17
16
|
private cols;
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
get message(): string;
|
|
18
|
+
get cells(): any[];
|
|
20
19
|
selected(index: number): boolean;
|
|
21
20
|
setState(index: number): void;
|
|
22
21
|
resetState(): void;
|
|
23
22
|
insertTable(): void;
|
|
24
23
|
openTableWizard(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopupTableGridComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopupTableGridComponent, "kendo-popup-table-grid", never, {}, { "cellClick": "cellClick"; "tableWizardClick": "tableWizardClick"; }, never, never>;
|
|
25
26
|
}
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
9
10
|
export declare class EditorToolsService {
|
|
10
11
|
needsCheck: Subject<any>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorToolsService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditorToolsService>;
|
|
11
14
|
}
|
package/{dist/es2015/tools → tools}/typographical-emphasis/editor-bold-button.directive.d.ts
RENAMED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor Bold tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -26,5 +27,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class EditorBoldButtonDirective extends EditorCommandButton {
|
|
29
|
-
constructor(button: ToolBarButtonComponent,
|
|
30
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorBoldButtonDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorBoldButtonDirective, "kendo-toolbar-button[kendoEditorBoldButton]", never, {}, {}, never>;
|
|
30
33
|
}
|
package/{dist/es2015/tools → tools}/typographical-emphasis/editor-italic-button.directive.d.ts
RENAMED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor Italic tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -26,5 +27,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class EditorItalicButtonDirective extends EditorCommandButton {
|
|
29
|
-
constructor(button: ToolBarButtonComponent,
|
|
30
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorItalicButtonDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorItalicButtonDirective, "kendo-toolbar-button[kendoEditorItalicButton]", never, {}, {}, never>;
|
|
30
33
|
}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor Strikethrough tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -26,5 +27,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class EditorStrikethroughButtonDirective extends EditorCommandButton {
|
|
29
|
-
constructor(button: ToolBarButtonComponent,
|
|
30
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorStrikethroughButtonDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorStrikethroughButtonDirective, "kendo-toolbar-button[kendoEditorStrikethroughButton]", never, {}, {}, never>;
|
|
30
33
|
}
|
package/{dist/es2015/tools → tools}/typographical-emphasis/editor-subscript-button.directive.d.ts
RENAMED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor Subscript tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -26,5 +27,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class EditorSubscriptButtonDirective extends EditorCommandButton {
|
|
29
|
-
constructor(button: ToolBarButtonComponent,
|
|
30
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorSubscriptButtonDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSubscriptButtonDirective, "kendo-toolbar-button[kendoEditorSubscriptButton]", never, {}, {}, never>;
|
|
30
33
|
}
|
package/{dist/es2015/tools → tools}/typographical-emphasis/editor-superscript-button.directive.d.ts
RENAMED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor Superscript tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -26,5 +27,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class EditorSuperscriptButtonDirective extends EditorCommandButton {
|
|
29
|
-
constructor(button: ToolBarButtonComponent,
|
|
30
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorSuperscriptButtonDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorSuperscriptButtonDirective, "kendo-toolbar-button[kendoEditorSuperscriptButton]", never, {}, {}, never>;
|
|
30
33
|
}
|
package/{dist/es2015/tools → tools}/typographical-emphasis/editor-underline-button.directive.d.ts
RENAMED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
-
import { EditorComponent } from '../../editor.component';
|
|
7
6
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
7
|
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
8
|
+
import { ProviderService } from '../../common/provider.service';
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* A directive which configures an existing `ToolBarButtonComponent` as an Editor Underline tool
|
|
12
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
@@ -26,5 +27,7 @@ import { EditorToolsService } from '../tools.service';
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class EditorUnderlineButtonDirective extends EditorCommandButton {
|
|
29
|
-
constructor(button: ToolBarButtonComponent,
|
|
30
|
+
constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorUnderlineButtonDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorUnderlineButtonDirective, "kendo-toolbar-button[kendoEditorUnderlineButton]", never, {}, {}, never>;
|
|
30
33
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 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 { EditorState } from '@progress/kendo-editor-common';
|
|
5
6
|
import { ActiveMarks } from './common/active-marks';
|
|
6
7
|
import { Predicate } from './common/predicate';
|
|
7
8
|
/**
|
|
@@ -76,3 +77,9 @@ export declare const conditionallyExecute: <T, R>(fn: (x: T) => R) => (condition
|
|
|
76
77
|
* @hidden
|
|
77
78
|
*/
|
|
78
79
|
export declare const pipe: (...fns: any[]) => (x: any) => any;
|
|
80
|
+
/**
|
|
81
|
+
* A method for extracting the text from the current editor state's selection
|
|
82
|
+
* @param state
|
|
83
|
+
* @returns
|
|
84
|
+
*/
|
|
85
|
+
export declare const getSelectionText: (state: EditorState) => string;
|