@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
|
@@ -2,14 +2,11 @@
|
|
|
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
|
|
6
|
-
var EditorComponent_1;
|
|
7
|
-
import { Component, HostBinding, ViewChild, ContentChild, ViewContainerRef, Output, ElementRef, EventEmitter, forwardRef, Input, ChangeDetectorRef, NgZone, isDevMode } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, ViewChild, ContentChild, ViewContainerRef, Output, ElementRef, EventEmitter, forwardRef, Input, isDevMode } from '@angular/core';
|
|
8
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
9
7
|
import { BehaviorSubject, fromEvent, Subject, zip } from 'rxjs';
|
|
10
8
|
import { map, filter, take } from 'rxjs/operators';
|
|
11
9
|
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
12
|
-
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
13
10
|
import { hasObservers, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
14
11
|
import { buildKeymap, buildListKeymap, getHtml, pasteCleanup, sanitize, removeComments, sanitizeClassAttr, sanitizeStyleAttr, removeAttribute, placeholder, EditorView, EditorState, baseKeymap, keymap, history, parseContent, Plugin, PluginKey, TextSelection, Schema, AllSelection, gapCursor, getSelectionText, imageResizing, tableEditing, caretColor } from '@progress/kendo-editor-common';
|
|
15
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -25,8 +22,32 @@ import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
25
22
|
import { EditorLocalizationService } from './localization/editor-localization.service';
|
|
26
23
|
import { defaultStyle, tablesStyles, rtlStyles } from './common/styles';
|
|
27
24
|
import { EditorErrorMessages } from './common/error-messages';
|
|
25
|
+
import { ProviderService } from './common/provider.service';
|
|
28
26
|
import { EditorToolsService } from './tools/tools.service';
|
|
29
27
|
import { EditorPasteEvent } from './preventable-events/paste-event';
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
29
|
+
import * as i1 from "@progress/kendo-angular-dialog";
|
|
30
|
+
import * as i2 from "@progress/kendo-angular-l10n";
|
|
31
|
+
import * as i3 from "./common/provider.service";
|
|
32
|
+
import * as i4 from "./tools/tools.service";
|
|
33
|
+
import * as i5 from "@progress/kendo-angular-toolbar";
|
|
34
|
+
import * as i6 from "./tools/format/editor-format.component";
|
|
35
|
+
import * as i7 from "./localization/localized-messages.directive";
|
|
36
|
+
import * as i8 from "@angular/common";
|
|
37
|
+
import * as i9 from "./tools/typographical-emphasis/editor-bold-button.directive";
|
|
38
|
+
import * as i10 from "./tools/typographical-emphasis/editor-italic-button.directive";
|
|
39
|
+
import * as i11 from "./tools/typographical-emphasis/editor-underline-button.directive";
|
|
40
|
+
import * as i12 from "./tools/alignment/editor-align-left-button.directive";
|
|
41
|
+
import * as i13 from "./tools/alignment/editor-align-center-button.directive";
|
|
42
|
+
import * as i14 from "./tools/alignment/editor-align-right-button.directive";
|
|
43
|
+
import * as i15 from "./tools/alignment/editor-align-justify-button.directive";
|
|
44
|
+
import * as i16 from "./tools/list/editor-insert-unordered-list-button.directive";
|
|
45
|
+
import * as i17 from "./tools/list/editor-insert-ordered-list-button.directive";
|
|
46
|
+
import * as i18 from "./tools/indentation/editor-indent-button.directive";
|
|
47
|
+
import * as i19 from "./tools/indentation/editor-outdent-button.directive";
|
|
48
|
+
import * as i20 from "./tools/link/editor-create-link-button.directive";
|
|
49
|
+
import * as i21 from "./tools/link/editor-unlink-button.directive";
|
|
50
|
+
import * as i22 from "./tools/image/editor-insert-image-button.directive";
|
|
30
51
|
const EMPTY_PARAGRAPH = '<p></p>';
|
|
31
52
|
const defaultPasteCleanupSettings = {
|
|
32
53
|
convertMsLists: false,
|
|
@@ -47,19 +68,19 @@ const getPasteCleanupAttributes = (config) => {
|
|
|
47
68
|
style: config.removeMsStyles ? sanitizeStyleAttr : undefined,
|
|
48
69
|
class: config.removeMsClasses ? sanitizeClassAttr : undefined
|
|
49
70
|
});
|
|
50
|
-
return config.removeAttributes.reduce((acc, curr) => (Object.assign({}, acc, { [curr]: removeAttribute })), initial);
|
|
71
|
+
return config.removeAttributes.reduce((acc, curr) => (Object.assign(Object.assign({}, acc), { [curr]: removeAttribute })), initial);
|
|
51
72
|
};
|
|
52
|
-
const ɵ0 = getPasteCleanupAttributes;
|
|
53
73
|
/**
|
|
54
74
|
* Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
|
|
55
75
|
*/
|
|
56
|
-
|
|
57
|
-
constructor(dialogService, localization, cdr, ngZone, element, toolsService) {
|
|
76
|
+
export class EditorComponent {
|
|
77
|
+
constructor(dialogService, localization, cdr, ngZone, element, providerService, toolsService) {
|
|
58
78
|
this.dialogService = dialogService;
|
|
59
79
|
this.localization = localization;
|
|
60
80
|
this.cdr = cdr;
|
|
61
81
|
this.ngZone = ngZone;
|
|
62
82
|
this.element = element;
|
|
83
|
+
this.providerService = providerService;
|
|
63
84
|
this.toolsService = toolsService;
|
|
64
85
|
/**
|
|
65
86
|
* If set to `false`, the Editor will run in style non-encapsulated mode. This means
|
|
@@ -138,20 +159,18 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
|
|
|
138
159
|
this.view.updateState(this.view.state.apply(tr));
|
|
139
160
|
}
|
|
140
161
|
};
|
|
141
|
-
this.transformPastedHTML = (dirtyHtml) => {
|
|
142
|
-
|
|
162
|
+
this.transformPastedHTML = (dirtyHtml, plainText) => {
|
|
163
|
+
if (plainText) {
|
|
164
|
+
return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
|
|
165
|
+
}
|
|
166
|
+
const pasteCleanupSettings = Object.assign(Object.assign({}, defaultPasteCleanupSettings), this.pasteCleanupSettings);
|
|
143
167
|
const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
|
|
144
168
|
const clean = pasteCleanup(html, {
|
|
145
169
|
convertMsLists: pasteCleanupSettings.convertMsLists,
|
|
146
170
|
stripTags: pasteCleanupSettings.stripTags.join('|'),
|
|
147
171
|
attributes: getPasteCleanupAttributes(pasteCleanupSettings)
|
|
148
172
|
});
|
|
149
|
-
|
|
150
|
-
const event = new EditorPasteEvent(clean, dirtyHtml, this._pasteEvent);
|
|
151
|
-
this.ngZone.run(() => this.paste.emit(event));
|
|
152
|
-
return event.isDefaultPrevented() ? '' : event.cleanedHtml;
|
|
153
|
-
}
|
|
154
|
-
return clean;
|
|
173
|
+
return this.dispatchPasteEvent(dirtyHtml, clean);
|
|
155
174
|
};
|
|
156
175
|
this.changeValue = (value) => {
|
|
157
176
|
const prev = this._value;
|
|
@@ -188,6 +207,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
|
|
|
188
207
|
return false;
|
|
189
208
|
};
|
|
190
209
|
validatePackage(packageMetadata);
|
|
210
|
+
this.providerService.editor = this;
|
|
191
211
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
192
212
|
// https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
|
|
193
213
|
this.subs = zip(this.afterViewInit.asObservable(), this.contentAreaLoaded.asObservable()).subscribe(() => this.initialize());
|
|
@@ -662,6 +682,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
|
|
|
662
682
|
editable: () => !this.readonly,
|
|
663
683
|
dispatchTransaction: this.dispatchTransaction,
|
|
664
684
|
transformPastedHTML: this.transformPastedHTML,
|
|
685
|
+
transformPastedText: this.transformPastedHTML,
|
|
665
686
|
handleDOMEvents: {
|
|
666
687
|
paste: this.onPaste
|
|
667
688
|
}
|
|
@@ -766,177 +787,212 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
|
|
|
766
787
|
}
|
|
767
788
|
});
|
|
768
789
|
}
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
790
|
+
dispatchPasteEvent(originalContent, cleanContent) {
|
|
791
|
+
if (hasObservers(this.paste)) {
|
|
792
|
+
const event = new EditorPasteEvent(cleanContent, originalContent, this._pasteEvent);
|
|
793
|
+
this.ngZone.run(() => this.paste.emit(event));
|
|
794
|
+
return event.isDefaultPrevented() ? '' : event.cleanedHtml;
|
|
795
|
+
}
|
|
796
|
+
return cleanContent;
|
|
797
|
+
}
|
|
798
|
+
;
|
|
799
|
+
}
|
|
800
|
+
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
801
|
+
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
802
|
+
EditorLocalizationService,
|
|
803
|
+
ProviderService,
|
|
804
|
+
EditorToolsService,
|
|
805
|
+
{
|
|
806
|
+
provide: LocalizationService,
|
|
807
|
+
useExisting: EditorLocalizationService
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
provide: L10N_PREFIX,
|
|
811
|
+
useValue: 'kendo.editor'
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
provide: NG_VALUE_ACCESSOR,
|
|
815
|
+
useExisting: forwardRef(() => EditorComponent),
|
|
816
|
+
multi: true
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
provide: KendoInput,
|
|
820
|
+
useExisting: forwardRef(() => EditorComponent)
|
|
821
|
+
}
|
|
822
|
+
], queries: [{ propertyName: "userToolBarComponent", first: true, predicate: ToolBarComponent, descendants: true }, { propertyName: "userToolBarElement", first: true, predicate: ToolBarComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["dialogsContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "container", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultToolbar", first: true, predicate: ["defaultToolbar"], descendants: true, read: ElementRef }, { propertyName: "defaultToolbarComponent", first: true, predicate: ["defaultToolbar"], descendants: true, read: ToolBarComponent }], usesOnChanges: true, ngImport: i0, template: `
|
|
823
|
+
<ng-container
|
|
824
|
+
kendoEditorLocalizedMessages
|
|
825
|
+
i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
|
|
826
|
+
alignCenter="Center text"
|
|
827
|
+
i18n-alignJustify="kendo.editor.alignJustify|The title of the tool that justifies text both left and right."
|
|
828
|
+
alignJustify="Justify"
|
|
829
|
+
i18n-alignLeft="kendo.editor.alignLeft|The title of the tool that aligns text on the left."
|
|
830
|
+
alignLeft="Align text left"
|
|
831
|
+
i18n-alignRight="kendo.editor.alignRight|The title of the tool that aligns text on the right."
|
|
832
|
+
alignRight="Align text right"
|
|
833
|
+
i18n-backColor="kendo.editor.backColor|The title of the tool that changes the text background color."
|
|
834
|
+
backColor="Background color"
|
|
835
|
+
i18n-blockquote="kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote"
|
|
836
|
+
blockquote="Quotation"
|
|
837
|
+
i18n-bold="kendo.editor.bold|The title of the tool that makes text bold."
|
|
838
|
+
bold="Bold"
|
|
839
|
+
i18n-cleanFormatting="kendo.editor.cleanFormatting|The title of the Clean Formatting tool."
|
|
840
|
+
cleanFormatting="Clean formatting"
|
|
841
|
+
i18n-createLink="kendo.editor.createLink|The title of the tool that creates hyperlinks."
|
|
842
|
+
createLink="Insert link"
|
|
843
|
+
i18n-dialogApply="kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs."
|
|
844
|
+
dialogApply="Apply"
|
|
845
|
+
i18n-dialogCancel="kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs."
|
|
846
|
+
dialogCancel="Cancel"
|
|
847
|
+
i18n-dialogInsert="kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs."
|
|
848
|
+
dialogInsert="Insert"
|
|
849
|
+
i18n-dialogUpdate="kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs."
|
|
850
|
+
dialogUpdate="Update"
|
|
851
|
+
i18n-fileText="kendo.editor.fileText|The caption for the file text in the insertFile dialog."
|
|
852
|
+
fileText="Text"
|
|
853
|
+
i18n-fileTitle="kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog."
|
|
854
|
+
fileTitle="Title"
|
|
855
|
+
i18n-fileWebAddress="kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog."
|
|
856
|
+
fileWebAddress="Web address"
|
|
857
|
+
i18n-fontFamily="kendo.editor.fontFamily|The title of the tool that changes the text font."
|
|
858
|
+
fontFamily="Select font family"
|
|
859
|
+
i18n-fontSize="kendo.editor.fontSize|The title of the tool that changes the text size."
|
|
860
|
+
fontSize="Select font size"
|
|
861
|
+
i18n-foreColor="kendo.editor.foreColor|The title of the tool that changes the text color."
|
|
862
|
+
foreColor="Color"
|
|
863
|
+
i18n-format="kendo.editor.format|The title of the tool that lets users choose block formats."
|
|
864
|
+
format="Format"
|
|
865
|
+
i18n-imageAltText="kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog."
|
|
866
|
+
imageAltText="Alternate text"
|
|
867
|
+
i18n-imageHeight="kendo.editor.imageHeight|The caption for the image height in the insertImage dialog."
|
|
868
|
+
imageHeight="Height (px)"
|
|
869
|
+
i18n-imageWebAddress="kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog."
|
|
870
|
+
imageWebAddress="Web address"
|
|
871
|
+
i18n-imageWidth="kendo.editor.imageWidth|The caption for the image width in the insertImage dialog."
|
|
872
|
+
imageWidth="Width (px)"
|
|
873
|
+
i18n-indent="kendo.editor.indent|The title of the tool that indents the content."
|
|
874
|
+
indent="Indent"
|
|
875
|
+
i18n-insertFile="kendo.editor.insertFile|The title of the tool that inserts links to files."
|
|
876
|
+
insertFile="Insert file"
|
|
877
|
+
i18n-insertImage="kendo.editor.insertImage|The title of the tool that inserts images."
|
|
878
|
+
insertImage="Insert image"
|
|
879
|
+
i18n-insertOrderedList="kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list."
|
|
880
|
+
insertOrderedList="Insert ordered list"
|
|
881
|
+
i18n-insertUnorderedList="kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list."
|
|
882
|
+
insertUnorderedList="Insert unordered list"
|
|
883
|
+
i18n-italic="kendo.editor.italic|The title of the tool that makes text italicized."
|
|
884
|
+
italic="Italic"
|
|
885
|
+
i18n-linkOpenInNewWindow="kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog."
|
|
886
|
+
linkOpenInNewWindow="Open link in new window"
|
|
887
|
+
i18n-linkText="kendo.editor.linkText|The caption for the link text in the createLink dialog."
|
|
888
|
+
linkText="Text"
|
|
889
|
+
i18n-linkTitle="kendo.editor.linkTitle|The caption for the link title in the createLink dialog."
|
|
890
|
+
linkTitle="Title"
|
|
891
|
+
i18n-linkWebAddress="kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog."
|
|
892
|
+
linkWebAddress="Web address"
|
|
893
|
+
i18n-outdent="kendo.editor.outdent|The title of the tool that outdents the content."
|
|
894
|
+
outdent="Outdent"
|
|
895
|
+
i18n-print="kendo.editor.print|The title of the print tool."
|
|
896
|
+
print="Print"
|
|
897
|
+
i18n-redo="kendo.editor.redo|The title of the tool that undos the last action."
|
|
898
|
+
redo="Redo"
|
|
899
|
+
i18n-selectAll="kendo.editor.selectAll|The title of the tool that selects all content."
|
|
900
|
+
selectAll="Select All"
|
|
901
|
+
i18n-strikethrough="kendo.editor.strikethrough|The title of the tool that strikes through text."
|
|
902
|
+
strikethrough="Strikethrough"
|
|
903
|
+
i18n-subscript="kendo.editor.subscript|The title of the tool that makes text subscript."
|
|
904
|
+
subscript="Subscript"
|
|
905
|
+
i18n-superscript="kendo.editor.superscript|The title of the tool that makes text superscript."
|
|
906
|
+
superscript="Superscript"
|
|
907
|
+
i18n-underline="kendo.editor.underline|The title of the tool that underlines text."
|
|
908
|
+
underline="Underline"
|
|
909
|
+
i18n-unlink="kendo.editor.unlink|The title of the tool that removes hyperlinks."
|
|
910
|
+
unlink="Remove Link"
|
|
911
|
+
i18n-undo="kendo.editor.undo|The title of the tool that undos the last action."
|
|
912
|
+
undo="Undo"
|
|
913
|
+
i18n-viewSource="kendo.editor.viewSource|The title of the tool that shows the editor value as HTML."
|
|
914
|
+
viewSource="View source"
|
|
915
|
+
i18n-insertTable="kendo.editor.insertTable|The title of the tool that inserts table."
|
|
916
|
+
insertTable="Insert Table"
|
|
917
|
+
i18n-addColumnBefore="kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column."
|
|
918
|
+
addColumnBefore="Add column before"
|
|
919
|
+
i18n-addColumnAfter="kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column."
|
|
920
|
+
addColumnAfter="Add column after"
|
|
921
|
+
i18n-addRowBefore="kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row."
|
|
922
|
+
addRowBefore="Add row before"
|
|
923
|
+
i18n-addRowAfter="kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row."
|
|
924
|
+
addRowAfter="Add row after"
|
|
925
|
+
i18n-deleteColumn="kendo.editor.deleteColumn|The title of the tool that deletes a table column."
|
|
926
|
+
deleteColumn="Delete column"
|
|
927
|
+
i18n-deleteRow="kendo.editor.deleteRow|The title of the tool that deletes a table row."
|
|
928
|
+
deleteRow="Delete row"
|
|
929
|
+
i18n-deleteTable="kendo.editor.deleteTable|The title of the tool that deletes a table."
|
|
930
|
+
deleteTable="Delete table"
|
|
931
|
+
>
|
|
932
|
+
</ng-container>
|
|
933
|
+
|
|
934
|
+
<ng-content select="kendo-toolbar"></ng-content>
|
|
935
|
+
<kendo-toolbar [overflow]="true" [tabindex]="readonly ? -1 : 0" *ngIf="!userToolBarElement" #defaultToolbar>
|
|
936
|
+
<kendo-toolbar-buttongroup>
|
|
937
|
+
<kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
|
|
938
|
+
<kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
|
|
939
|
+
<kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
|
|
940
|
+
</kendo-toolbar-buttongroup>
|
|
941
|
+
<kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
|
|
942
|
+
<kendo-toolbar-buttongroup>
|
|
943
|
+
<kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
|
|
944
|
+
<kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
|
|
945
|
+
<kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
|
|
946
|
+
<kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
|
|
947
|
+
</kendo-toolbar-buttongroup>
|
|
948
|
+
<kendo-toolbar-buttongroup>
|
|
949
|
+
<kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
|
|
950
|
+
<kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
|
|
951
|
+
<kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
|
|
952
|
+
<kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
|
|
953
|
+
</kendo-toolbar-buttongroup>
|
|
954
|
+
<kendo-toolbar-buttongroup>
|
|
955
|
+
<kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
|
|
956
|
+
<kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
|
|
957
|
+
</kendo-toolbar-buttongroup>
|
|
958
|
+
<kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
|
|
959
|
+
</kendo-toolbar>
|
|
960
|
+
|
|
961
|
+
<div *ngIf="!iframe" #content [attr.dir]="direction" class="k-editor-content"></div>
|
|
962
|
+
|
|
963
|
+
<div class="k-editor-content" *ngIf="iframe">
|
|
964
|
+
<iframe #content srcdoc="<!DOCTYPE html>" frameborder="0" class="k-iframe" (load)="iframeOnLoad()"></iframe>
|
|
965
|
+
</div>
|
|
966
|
+
|
|
967
|
+
<ng-container #dialogsContainer></ng-container>
|
|
968
|
+
`, isInline: true, styles: ["\n >>> .k-editor-content > .ProseMirror {\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n outline: none;\n overflow: auto;\n }\n\n .k-iframe {\n width: 100%;\n height: 100%;\n display: block;\n }\n "], components: [{ type: i5.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i5.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i5.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: i6.EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: i7.LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: i10.EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: i11.EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: i12.EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: i13.EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: i14.EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: i15.EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: i16.EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: i17.EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: i18.EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: i19.EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: i20.EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: i21.EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: i22.EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, decorators: [{
|
|
970
|
+
type: Component,
|
|
971
|
+
args: [{
|
|
972
|
+
selector: 'kendo-editor',
|
|
973
|
+
providers: [
|
|
974
|
+
EditorLocalizationService,
|
|
975
|
+
ProviderService,
|
|
976
|
+
EditorToolsService,
|
|
977
|
+
{
|
|
978
|
+
provide: LocalizationService,
|
|
979
|
+
useExisting: EditorLocalizationService
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
provide: L10N_PREFIX,
|
|
983
|
+
useValue: 'kendo.editor'
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
provide: NG_VALUE_ACCESSOR,
|
|
987
|
+
useExisting: forwardRef(() => EditorComponent),
|
|
988
|
+
multi: true
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
provide: KendoInput,
|
|
992
|
+
useExisting: forwardRef(() => EditorComponent)
|
|
993
|
+
}
|
|
994
|
+
],
|
|
995
|
+
template: `
|
|
940
996
|
<ng-container
|
|
941
997
|
kendoEditorLocalizedMessages
|
|
942
998
|
i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
|
|
@@ -1083,8 +1139,8 @@ EditorComponent = EditorComponent_1 = tslib_1.__decorate([
|
|
|
1083
1139
|
|
|
1084
1140
|
<ng-container #dialogsContainer></ng-container>
|
|
1085
1141
|
`,
|
|
1086
|
-
|
|
1087
|
-
|
|
1142
|
+
styles: [
|
|
1143
|
+
`
|
|
1088
1144
|
>>> .k-editor-content > .ProseMirror {
|
|
1089
1145
|
height: 100%;
|
|
1090
1146
|
width: 100%;
|
|
@@ -1099,14 +1155,89 @@ EditorComponent = EditorComponent_1 = tslib_1.__decorate([
|
|
|
1099
1155
|
display: block;
|
|
1100
1156
|
}
|
|
1101
1157
|
`
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
],
|
|
1111
|
-
|
|
1112
|
-
|
|
1158
|
+
]
|
|
1159
|
+
}]
|
|
1160
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.ProviderService }, { type: i4.EditorToolsService }]; }, propDecorators: { value: [{
|
|
1161
|
+
type: Input
|
|
1162
|
+
}], disabled: [{
|
|
1163
|
+
type: Input
|
|
1164
|
+
}], readonly: [{
|
|
1165
|
+
type: Input
|
|
1166
|
+
}], iframe: [{
|
|
1167
|
+
type: Input
|
|
1168
|
+
}], applyToWord: [{
|
|
1169
|
+
type: Input
|
|
1170
|
+
}], schema: [{
|
|
1171
|
+
type: Input
|
|
1172
|
+
}], plugins: [{
|
|
1173
|
+
type: Input
|
|
1174
|
+
}], placeholder: [{
|
|
1175
|
+
type: Input
|
|
1176
|
+
}], preserveWhitespace: [{
|
|
1177
|
+
type: Input
|
|
1178
|
+
}], pasteCleanupSettings: [{
|
|
1179
|
+
type: Input
|
|
1180
|
+
}], resizable: [{
|
|
1181
|
+
type: Input
|
|
1182
|
+
}], valueChange: [{
|
|
1183
|
+
type: Output
|
|
1184
|
+
}], onFocus: [{
|
|
1185
|
+
type: Output,
|
|
1186
|
+
args: ['focus']
|
|
1187
|
+
}], paste: [{
|
|
1188
|
+
type: Output
|
|
1189
|
+
}], onBlur: [{
|
|
1190
|
+
type: Output,
|
|
1191
|
+
args: ['blur']
|
|
1192
|
+
}], hostClass: [{
|
|
1193
|
+
type: HostBinding,
|
|
1194
|
+
args: ['class.k-editor']
|
|
1195
|
+
}], resizableClass: [{
|
|
1196
|
+
type: HostBinding,
|
|
1197
|
+
args: ['class.k-editor-resizable']
|
|
1198
|
+
}], isDisabled: [{
|
|
1199
|
+
type: HostBinding,
|
|
1200
|
+
args: ['class.k-disabled']
|
|
1201
|
+
}], isReadonly: [{
|
|
1202
|
+
type: HostBinding,
|
|
1203
|
+
args: ['class.k-readonly']
|
|
1204
|
+
}], isIE: [{
|
|
1205
|
+
type: HostBinding,
|
|
1206
|
+
args: ['class.k-ie']
|
|
1207
|
+
}], dir: [{
|
|
1208
|
+
type: HostBinding,
|
|
1209
|
+
args: ['attr.dir']
|
|
1210
|
+
}], ariaDisabled: [{
|
|
1211
|
+
type: HostBinding,
|
|
1212
|
+
args: ['attr.ariaDisabled']
|
|
1213
|
+
}], minWidth: [{
|
|
1214
|
+
type: HostBinding,
|
|
1215
|
+
args: ['style.minWidth']
|
|
1216
|
+
}], maxWidth: [{
|
|
1217
|
+
type: HostBinding,
|
|
1218
|
+
args: ['style.maxWidth']
|
|
1219
|
+
}], minHeight: [{
|
|
1220
|
+
type: HostBinding,
|
|
1221
|
+
args: ['style.minHeight']
|
|
1222
|
+
}], maxHeight: [{
|
|
1223
|
+
type: HostBinding,
|
|
1224
|
+
args: ['style.maxHeight']
|
|
1225
|
+
}], userToolBarComponent: [{
|
|
1226
|
+
type: ContentChild,
|
|
1227
|
+
args: [ToolBarComponent, { static: false }]
|
|
1228
|
+
}], userToolBarElement: [{
|
|
1229
|
+
type: ContentChild,
|
|
1230
|
+
args: [ToolBarComponent, { read: ElementRef, static: false }]
|
|
1231
|
+
}], dialogContainer: [{
|
|
1232
|
+
type: ViewChild,
|
|
1233
|
+
args: ['dialogsContainer', { read: ViewContainerRef, static: true }]
|
|
1234
|
+
}], container: [{
|
|
1235
|
+
type: ViewChild,
|
|
1236
|
+
args: ['content', { read: ViewContainerRef, static: false }]
|
|
1237
|
+
}], defaultToolbar: [{
|
|
1238
|
+
type: ViewChild,
|
|
1239
|
+
args: ['defaultToolbar', { read: ElementRef, static: false }]
|
|
1240
|
+
}], defaultToolbarComponent: [{
|
|
1241
|
+
type: ViewChild,
|
|
1242
|
+
args: ['defaultToolbar', { read: ToolBarComponent, static: false }]
|
|
1243
|
+
}] } });
|