@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
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, TemplateRef, ViewChild, ElementRef, forwardRef, Input, Output, Host, EventEmitter } from '@angular/core';
|
|
7
|
-
import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { outerWidth, isPresent, getUniqueStyleValues } from '../../util';
|
|
9
|
-
import { EditorComponent } from '../../editor.component';
|
|
10
|
-
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
11
|
-
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
12
|
-
import { FontFamilyDialogComponent } from '../../dialogs/font-family-dialog.component';
|
|
13
|
-
import { FontFamilyDropDownListComponent } from './editor-fontfamily-dropdownlist.component';
|
|
14
|
-
import { EditorToolsService } from '../tools.service';
|
|
15
|
-
/**
|
|
16
|
-
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
17
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
18
|
-
* The component associates a `kendo-toolbar-dropdownlist` with an Editor command that changes the font family of a content block and
|
|
19
|
-
* automatically defines the options of the drop-down list and sets its values.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts-no-run
|
|
23
|
-
* <kendo-toolbar-dropdownlist kendoEditorFontFamily></kendo-toolbar-dropdownlist>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
var EditorFontFamilyComponent = /** @class */ (function (_super) {
|
|
27
|
-
tslib_1.__extends(EditorFontFamilyComponent, _super);
|
|
28
|
-
function EditorFontFamilyComponent(editor, dialogService, localization, toolsService) {
|
|
29
|
-
var _this = _super.call(this) || this;
|
|
30
|
-
_this.editor = editor;
|
|
31
|
-
_this.dialogService = dialogService;
|
|
32
|
-
_this.localization = localization;
|
|
33
|
-
_this.toolsService = toolsService;
|
|
34
|
-
_this.disabled = false;
|
|
35
|
-
_this.tabindex = -1;
|
|
36
|
-
/**
|
|
37
|
-
* Fires when the user updates the value of the drop-down list.
|
|
38
|
-
*/
|
|
39
|
-
_this.valueChange = new EventEmitter();
|
|
40
|
-
_this._data = [
|
|
41
|
-
{ text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
|
|
42
|
-
{ text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
|
|
43
|
-
{ text: 'Georgia', fontName: 'Georgia,Times,"Times New Roman",serif' },
|
|
44
|
-
{
|
|
45
|
-
fontName:
|
|
46
|
-
// tslint:disable-next-line:max-line-length
|
|
47
|
-
'Impact,Haettenschweiler,"Franklin Gothic Bold",Charcoal,"Helvetica Inserat","Bitstream Vera Sans Bold","Arial Black","sans serif"',
|
|
48
|
-
text: 'Impact'
|
|
49
|
-
},
|
|
50
|
-
{ text: 'Lucida Console', fontName: '"Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace' },
|
|
51
|
-
{ text: 'Tahoma', fontName: 'Tahoma,Verdana,Segoe,sans-serif' },
|
|
52
|
-
{ text: 'Times New Roman', fontName: 'TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif' },
|
|
53
|
-
{ text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
|
|
54
|
-
{ text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
|
|
55
|
-
];
|
|
56
|
-
return _this;
|
|
57
|
-
}
|
|
58
|
-
EditorFontFamilyComponent_1 = EditorFontFamilyComponent;
|
|
59
|
-
Object.defineProperty(EditorFontFamilyComponent.prototype, "data", {
|
|
60
|
-
get: function () {
|
|
61
|
-
return this._data;
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* Overrides the default font list.
|
|
65
|
-
*/
|
|
66
|
-
set: function (fonts) {
|
|
67
|
-
this._data = fonts || this._data;
|
|
68
|
-
},
|
|
69
|
-
enumerable: true,
|
|
70
|
-
configurable: true
|
|
71
|
-
});
|
|
72
|
-
EditorFontFamilyComponent.prototype.ngOnInit = function () {
|
|
73
|
-
var _this = this;
|
|
74
|
-
this.itemDisabled = function (itemArgs) {
|
|
75
|
-
if (!_this.overflows && _this.fontFamilyDropDownList && !_this.fontFamilyDropDownList.dropDownList.isOpen) {
|
|
76
|
-
return true; //disable all items in order to prevent navigation when DDL is closed
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return itemArgs.dataItem.fontName === null;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
setTimeout(function () {
|
|
83
|
-
_this.defaultItem = { text: _this.title, fontName: null };
|
|
84
|
-
_this.toolsService.needsCheck.next();
|
|
85
|
-
});
|
|
86
|
-
this.subs = this.editor.stateChange.subscribe(function (_a) {
|
|
87
|
-
var style = _a.style;
|
|
88
|
-
_this.value = getUniqueStyleValues(style.selected, 'font-family') || null;
|
|
89
|
-
_this.disabled = style.disabled;
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* @hidden
|
|
94
|
-
*/
|
|
95
|
-
EditorFontFamilyComponent.prototype.onValueChange = function (ev) {
|
|
96
|
-
if (isPresent(ev)) {
|
|
97
|
-
this.editor.exec('fontFamily', ev);
|
|
98
|
-
this.editor.view.focus();
|
|
99
|
-
this.valueChange.emit(this.data.find(function (f) { return f.fontName === ev; }));
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
EditorFontFamilyComponent.prototype.ngOnDestroy = function () {
|
|
103
|
-
if (this.subs) {
|
|
104
|
-
this.subs.unsubscribe();
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
Object.defineProperty(EditorFontFamilyComponent.prototype, "outerWidth", {
|
|
108
|
-
get: function () {
|
|
109
|
-
if (this.element) {
|
|
110
|
-
return outerWidth(this.element.nativeElement);
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
enumerable: true,
|
|
114
|
-
configurable: true
|
|
115
|
-
});
|
|
116
|
-
Object.defineProperty(EditorFontFamilyComponent.prototype, "title", {
|
|
117
|
-
get: function () {
|
|
118
|
-
return this.localization.get('fontFamily');
|
|
119
|
-
},
|
|
120
|
-
enumerable: true,
|
|
121
|
-
configurable: true
|
|
122
|
-
});
|
|
123
|
-
/**
|
|
124
|
-
* @hidden
|
|
125
|
-
*/
|
|
126
|
-
EditorFontFamilyComponent.prototype.openDialog = function () {
|
|
127
|
-
var dialogSettings = {
|
|
128
|
-
appendTo: this.editor.dialogContainer,
|
|
129
|
-
content: FontFamilyDialogComponent
|
|
130
|
-
};
|
|
131
|
-
this.editor.toolbar.toggle(false);
|
|
132
|
-
var dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
133
|
-
dialogContent.setData({
|
|
134
|
-
editor: this.editor,
|
|
135
|
-
data: this.data,
|
|
136
|
-
defaultItem: this.defaultItem,
|
|
137
|
-
value: this.value,
|
|
138
|
-
itemDisabled: this.itemDisabled
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* @hidden
|
|
143
|
-
*/
|
|
144
|
-
EditorFontFamilyComponent.prototype.canFocus = function () {
|
|
145
|
-
return !this.disabled;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* @hidden
|
|
149
|
-
*/
|
|
150
|
-
EditorFontFamilyComponent.prototype.focus = function () {
|
|
151
|
-
this.tabindex = 0;
|
|
152
|
-
if (this.overflows) {
|
|
153
|
-
this.fontFamilyButton.nativeElement.focus();
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
this.fontFamilyDropDownList.focus();
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* @hidden
|
|
161
|
-
*/
|
|
162
|
-
EditorFontFamilyComponent.prototype.handleKey = function () {
|
|
163
|
-
this.tabindex = -1;
|
|
164
|
-
return false;
|
|
165
|
-
};
|
|
166
|
-
var EditorFontFamilyComponent_1;
|
|
167
|
-
tslib_1.__decorate([
|
|
168
|
-
Input(),
|
|
169
|
-
tslib_1.__metadata("design:type", Array),
|
|
170
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
171
|
-
], EditorFontFamilyComponent.prototype, "data", null);
|
|
172
|
-
tslib_1.__decorate([
|
|
173
|
-
Output(),
|
|
174
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
175
|
-
], EditorFontFamilyComponent.prototype, "valueChange", void 0);
|
|
176
|
-
tslib_1.__decorate([
|
|
177
|
-
ViewChild('toolbarTemplate', { static: true }),
|
|
178
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
179
|
-
], EditorFontFamilyComponent.prototype, "toolbarTemplate", void 0);
|
|
180
|
-
tslib_1.__decorate([
|
|
181
|
-
ViewChild('popupTemplate', { static: true }),
|
|
182
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
183
|
-
], EditorFontFamilyComponent.prototype, "popupTemplate", void 0);
|
|
184
|
-
tslib_1.__decorate([
|
|
185
|
-
ViewChild('element', { static: false }),
|
|
186
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
187
|
-
], EditorFontFamilyComponent.prototype, "element", void 0);
|
|
188
|
-
tslib_1.__decorate([
|
|
189
|
-
ViewChild('element', { read: FontFamilyDropDownListComponent, static: false }),
|
|
190
|
-
tslib_1.__metadata("design:type", FontFamilyDropDownListComponent)
|
|
191
|
-
], EditorFontFamilyComponent.prototype, "fontFamilyDropDownList", void 0);
|
|
192
|
-
tslib_1.__decorate([
|
|
193
|
-
ViewChild('fontFamilyButton', { static: false }),
|
|
194
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
195
|
-
], EditorFontFamilyComponent.prototype, "fontFamilyButton", void 0);
|
|
196
|
-
EditorFontFamilyComponent = EditorFontFamilyComponent_1 = tslib_1.__decorate([
|
|
197
|
-
Component({
|
|
198
|
-
// tslint:disable-next-line:no-forward-ref
|
|
199
|
-
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return EditorFontFamilyComponent_1; }) }],
|
|
200
|
-
selector: 'kendo-toolbar-dropdownlist[kendoEditorFontFamily]',
|
|
201
|
-
template: "\n <ng-template #toolbarTemplate>\n <kendo-editor-fontfamily-dropdownlist\n #element\n [defaultItem]=\"defaultItem\"\n [data]=\"data\"\n [(value)]=\"value\"\n [itemDisabled]=\"itemDisabled\"\n [title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-editor-fontfamily-dropdownlist>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n #fontFamilyButton\n class=\"k-overflow-button\"\n [icon]=\"'font-family'\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (click)=\"openDialog()\"\n >\n {{ title }}\n </button>\n </ng-template>\n "
|
|
202
|
-
}),
|
|
203
|
-
tslib_1.__param(0, Host()),
|
|
204
|
-
tslib_1.__metadata("design:paramtypes", [EditorComponent,
|
|
205
|
-
DialogService,
|
|
206
|
-
EditorLocalizationService,
|
|
207
|
-
EditorToolsService])
|
|
208
|
-
], EditorFontFamilyComponent);
|
|
209
|
-
return EditorFontFamilyComponent;
|
|
210
|
-
}(ToolBarToolComponent));
|
|
211
|
-
export { EditorFontFamilyComponent };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, ViewChild, Input, ElementRef, Output, EventEmitter } from '@angular/core';
|
|
7
|
-
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
var FontSizeDropDownListComponent = /** @class */ (function () {
|
|
12
|
-
function FontSizeDropDownListComponent() {
|
|
13
|
-
this.valueChange = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
FontSizeDropDownListComponent.prototype.onValueChange = function (size) {
|
|
16
|
-
this.valueChange.emit(size);
|
|
17
|
-
};
|
|
18
|
-
FontSizeDropDownListComponent.prototype.focus = function () {
|
|
19
|
-
this.dropDownList.focus();
|
|
20
|
-
};
|
|
21
|
-
tslib_1.__decorate([
|
|
22
|
-
Input(),
|
|
23
|
-
tslib_1.__metadata("design:type", Array)
|
|
24
|
-
], FontSizeDropDownListComponent.prototype, "data", void 0);
|
|
25
|
-
tslib_1.__decorate([
|
|
26
|
-
Input(),
|
|
27
|
-
tslib_1.__metadata("design:type", String)
|
|
28
|
-
], FontSizeDropDownListComponent.prototype, "value", void 0);
|
|
29
|
-
tslib_1.__decorate([
|
|
30
|
-
Input(),
|
|
31
|
-
tslib_1.__metadata("design:type", Object)
|
|
32
|
-
], FontSizeDropDownListComponent.prototype, "defaultItem", void 0);
|
|
33
|
-
tslib_1.__decorate([
|
|
34
|
-
Input(),
|
|
35
|
-
tslib_1.__metadata("design:type", Function)
|
|
36
|
-
], FontSizeDropDownListComponent.prototype, "itemDisabled", void 0);
|
|
37
|
-
tslib_1.__decorate([
|
|
38
|
-
Input(),
|
|
39
|
-
tslib_1.__metadata("design:type", String)
|
|
40
|
-
], FontSizeDropDownListComponent.prototype, "title", void 0);
|
|
41
|
-
tslib_1.__decorate([
|
|
42
|
-
Input(),
|
|
43
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
44
|
-
], FontSizeDropDownListComponent.prototype, "disabled", void 0);
|
|
45
|
-
tslib_1.__decorate([
|
|
46
|
-
Input(),
|
|
47
|
-
tslib_1.__metadata("design:type", Number)
|
|
48
|
-
], FontSizeDropDownListComponent.prototype, "tabindex", void 0);
|
|
49
|
-
tslib_1.__decorate([
|
|
50
|
-
Output(),
|
|
51
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
52
|
-
], FontSizeDropDownListComponent.prototype, "valueChange", void 0);
|
|
53
|
-
tslib_1.__decorate([
|
|
54
|
-
ViewChild('element', { static: true }),
|
|
55
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
56
|
-
], FontSizeDropDownListComponent.prototype, "element", void 0);
|
|
57
|
-
tslib_1.__decorate([
|
|
58
|
-
ViewChild('element', { read: DropDownListComponent, static: true }),
|
|
59
|
-
tslib_1.__metadata("design:type", DropDownListComponent)
|
|
60
|
-
], FontSizeDropDownListComponent.prototype, "dropDownList", void 0);
|
|
61
|
-
FontSizeDropDownListComponent = tslib_1.__decorate([
|
|
62
|
-
Component({
|
|
63
|
-
// tslint:disable-next-line:no-forward-ref
|
|
64
|
-
selector: 'kendo-editor-fontsize-dropdownlist',
|
|
65
|
-
template: "\n <kendo-dropdownlist\n #element\n kendoEditorDropDownTool\n [defaultItem]=\"defaultItem\"\n [textField]=\"'text'\"\n [valueField]=\"'size'\"\n [data]=\"data\"\n [(value)]=\"value\"\n [valuePrimitive]=\"true\"\n [itemDisabled]=\"itemDisabled\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-dropdownlist>\n ",
|
|
66
|
-
styles: ["\n .k-dropdownlist {\n width: 13em;\n }\n "]
|
|
67
|
-
})
|
|
68
|
-
], FontSizeDropDownListComponent);
|
|
69
|
-
return FontSizeDropDownListComponent;
|
|
70
|
-
}());
|
|
71
|
-
export { FontSizeDropDownListComponent };
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input, TemplateRef, ViewChild, ElementRef, forwardRef, Output, Host, EventEmitter } from '@angular/core';
|
|
7
|
-
import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { outerWidth, isPresent, getUniqueStyleValues } from '../../util';
|
|
9
|
-
import { EditorComponent } from '../../editor.component';
|
|
10
|
-
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
11
|
-
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
12
|
-
import { FontSizeDialogComponent } from '../../dialogs/font-size-dialog.component';
|
|
13
|
-
import { FontSizeDropDownListComponent } from './editor-fontsize-dropdownlist.component';
|
|
14
|
-
import { EditorToolsService } from '../tools.service';
|
|
15
|
-
/**
|
|
16
|
-
* A component which configures an existing `DropDownListComponent` as an Editor tool
|
|
17
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
18
|
-
* The component associates a `kendo-dropdownlist` with an Editor command that changes the font size of a content block and
|
|
19
|
-
* automatically defines the options of the drop-down list and sets its values.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts-no-run
|
|
23
|
-
* <kendo-toolbar-dropdownlist kendoEditorFontSize></kendo-toolbar-dropdownlist>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
var EditorFontSizeComponent = /** @class */ (function (_super) {
|
|
27
|
-
tslib_1.__extends(EditorFontSizeComponent, _super);
|
|
28
|
-
function EditorFontSizeComponent(editor, dialogService, localization, toolsService) {
|
|
29
|
-
var _this = _super.call(this) || this;
|
|
30
|
-
_this.editor = editor;
|
|
31
|
-
_this.dialogService = dialogService;
|
|
32
|
-
_this.localization = localization;
|
|
33
|
-
_this.toolsService = toolsService;
|
|
34
|
-
_this.disabled = false;
|
|
35
|
-
_this.tabindex = -1;
|
|
36
|
-
/**
|
|
37
|
-
* Fires when the user updates the value of the drop-down list.
|
|
38
|
-
*/
|
|
39
|
-
_this.valueChange = new EventEmitter();
|
|
40
|
-
_this._data = [
|
|
41
|
-
{ text: '8px', size: 8 },
|
|
42
|
-
{ text: '10px', size: 10 },
|
|
43
|
-
{ text: '12px', size: 12 },
|
|
44
|
-
{ text: '14px', size: 14 },
|
|
45
|
-
{ text: '18px', size: 18 },
|
|
46
|
-
{ text: '24px', size: 24 },
|
|
47
|
-
{ text: '36px', size: 36 }
|
|
48
|
-
];
|
|
49
|
-
return _this;
|
|
50
|
-
}
|
|
51
|
-
EditorFontSizeComponent_1 = EditorFontSizeComponent;
|
|
52
|
-
Object.defineProperty(EditorFontSizeComponent.prototype, "data", {
|
|
53
|
-
get: function () {
|
|
54
|
-
return this._data;
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* Overrides the default font size list.
|
|
58
|
-
*/
|
|
59
|
-
set: function (sizes) {
|
|
60
|
-
this._data = sizes || this._data;
|
|
61
|
-
},
|
|
62
|
-
enumerable: true,
|
|
63
|
-
configurable: true
|
|
64
|
-
});
|
|
65
|
-
EditorFontSizeComponent.prototype.ngOnInit = function () {
|
|
66
|
-
var _this = this;
|
|
67
|
-
this.itemDisabled = function (itemArgs) {
|
|
68
|
-
if (!_this.overflows && _this.fontSizeDropDownList && !_this.fontSizeDropDownList.dropDownList.isOpen) {
|
|
69
|
-
return true; //disable all items in order to prevent navigation when DDL is closed
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
return itemArgs.dataItem.size === null;
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
setTimeout(function () {
|
|
76
|
-
_this.defaultItem = { text: _this.title, size: null };
|
|
77
|
-
_this.toolsService.needsCheck.next();
|
|
78
|
-
});
|
|
79
|
-
this.subs = this.editor.stateChange.subscribe(function (_a) {
|
|
80
|
-
// remove units(px, em, rem...)
|
|
81
|
-
// string#match returns array
|
|
82
|
-
var style = _a.style;
|
|
83
|
-
_this.value = (getUniqueStyleValues(style.selected, 'font-size').match(/\d+/g) || [null])[0];
|
|
84
|
-
_this.disabled = style.disabled;
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* @hidden
|
|
89
|
-
*/
|
|
90
|
-
EditorFontSizeComponent.prototype.onValueChange = function (ev) {
|
|
91
|
-
if (isPresent(ev)) {
|
|
92
|
-
this.editor.exec('fontSize', ev);
|
|
93
|
-
this.editor.view.focus();
|
|
94
|
-
this.valueChange.emit(this.data.find(function (d) { return d.size === parseInt(ev, 10); }));
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
EditorFontSizeComponent.prototype.ngOnDestroy = function () {
|
|
98
|
-
if (this.subs) {
|
|
99
|
-
this.subs.unsubscribe();
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
Object.defineProperty(EditorFontSizeComponent.prototype, "outerWidth", {
|
|
103
|
-
get: function () {
|
|
104
|
-
if (this.element) {
|
|
105
|
-
return outerWidth(this.element.nativeElement);
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
enumerable: true,
|
|
109
|
-
configurable: true
|
|
110
|
-
});
|
|
111
|
-
Object.defineProperty(EditorFontSizeComponent.prototype, "title", {
|
|
112
|
-
get: function () {
|
|
113
|
-
return this.localization.get('fontSize');
|
|
114
|
-
},
|
|
115
|
-
enumerable: true,
|
|
116
|
-
configurable: true
|
|
117
|
-
});
|
|
118
|
-
/**
|
|
119
|
-
* @hidden
|
|
120
|
-
*/
|
|
121
|
-
EditorFontSizeComponent.prototype.openDialog = function () {
|
|
122
|
-
var dialogSettings = {
|
|
123
|
-
appendTo: this.editor.dialogContainer,
|
|
124
|
-
content: FontSizeDialogComponent
|
|
125
|
-
};
|
|
126
|
-
this.editor.toolbar.toggle(false);
|
|
127
|
-
var dialogContent = this.dialogService.open(dialogSettings).content.instance;
|
|
128
|
-
dialogContent.setData({
|
|
129
|
-
editor: this.editor,
|
|
130
|
-
data: this.data,
|
|
131
|
-
defaultItem: this.defaultItem,
|
|
132
|
-
value: this.value,
|
|
133
|
-
itemDisabled: this.itemDisabled
|
|
134
|
-
});
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* @hidden
|
|
138
|
-
*/
|
|
139
|
-
EditorFontSizeComponent.prototype.canFocus = function () {
|
|
140
|
-
return !this.disabled;
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* @hidden
|
|
144
|
-
*/
|
|
145
|
-
EditorFontSizeComponent.prototype.focus = function () {
|
|
146
|
-
this.tabindex = 0;
|
|
147
|
-
if (this.overflows) {
|
|
148
|
-
this.fontSizeButton.nativeElement.focus();
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
this.fontSizeDropDownList.focus();
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* @hidden
|
|
156
|
-
*/
|
|
157
|
-
EditorFontSizeComponent.prototype.handleKey = function () {
|
|
158
|
-
this.tabindex = -1;
|
|
159
|
-
return false;
|
|
160
|
-
};
|
|
161
|
-
var EditorFontSizeComponent_1;
|
|
162
|
-
tslib_1.__decorate([
|
|
163
|
-
Input(),
|
|
164
|
-
tslib_1.__metadata("design:type", Array),
|
|
165
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
166
|
-
], EditorFontSizeComponent.prototype, "data", null);
|
|
167
|
-
tslib_1.__decorate([
|
|
168
|
-
Output(),
|
|
169
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
170
|
-
], EditorFontSizeComponent.prototype, "valueChange", void 0);
|
|
171
|
-
tslib_1.__decorate([
|
|
172
|
-
ViewChild('toolbarTemplate', { static: true }),
|
|
173
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
174
|
-
], EditorFontSizeComponent.prototype, "toolbarTemplate", void 0);
|
|
175
|
-
tslib_1.__decorate([
|
|
176
|
-
ViewChild('popupTemplate', { static: true }),
|
|
177
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
178
|
-
], EditorFontSizeComponent.prototype, "popupTemplate", void 0);
|
|
179
|
-
tslib_1.__decorate([
|
|
180
|
-
ViewChild('element', { static: false }),
|
|
181
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
182
|
-
], EditorFontSizeComponent.prototype, "element", void 0);
|
|
183
|
-
tslib_1.__decorate([
|
|
184
|
-
ViewChild('element', { read: FontSizeDropDownListComponent, static: false }),
|
|
185
|
-
tslib_1.__metadata("design:type", FontSizeDropDownListComponent)
|
|
186
|
-
], EditorFontSizeComponent.prototype, "fontSizeDropDownList", void 0);
|
|
187
|
-
tslib_1.__decorate([
|
|
188
|
-
ViewChild('fontSizeButton', { static: false }),
|
|
189
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
190
|
-
], EditorFontSizeComponent.prototype, "fontSizeButton", void 0);
|
|
191
|
-
EditorFontSizeComponent = EditorFontSizeComponent_1 = tslib_1.__decorate([
|
|
192
|
-
Component({
|
|
193
|
-
// tslint:disable-next-line:no-forward-ref
|
|
194
|
-
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return EditorFontSizeComponent_1; }) }],
|
|
195
|
-
selector: 'kendo-toolbar-dropdownlist[kendoEditorFontSize]',
|
|
196
|
-
template: "\n <ng-template #toolbarTemplate>\n <kendo-editor-fontsize-dropdownlist\n #element\n [defaultItem]=\"defaultItem\"\n [data]=\"data\"\n [(value)]=\"value\"\n [itemDisabled]=\"itemDisabled\"\n [title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-editor-fontsize-dropdownlist>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n #fontSizeButton\n class=\"k-overflow-button\"\n [icon]=\"'font-size'\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (click)=\"openDialog()\"\n >\n {{ title }}\n </button>\n </ng-template>\n "
|
|
197
|
-
}),
|
|
198
|
-
tslib_1.__param(0, Host()),
|
|
199
|
-
tslib_1.__metadata("design:paramtypes", [EditorComponent,
|
|
200
|
-
DialogService,
|
|
201
|
-
EditorLocalizationService,
|
|
202
|
-
EditorToolsService])
|
|
203
|
-
], EditorFontSizeComponent);
|
|
204
|
-
return EditorFontSizeComponent;
|
|
205
|
-
}(ToolBarToolComponent));
|
|
206
|
-
export { EditorFontSizeComponent };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, ViewChild, Input, ElementRef, Output, EventEmitter } from '@angular/core';
|
|
7
|
-
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
var FormatDropDownListComponent = /** @class */ (function () {
|
|
12
|
-
function FormatDropDownListComponent() {
|
|
13
|
-
this.valueChange = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
FormatDropDownListComponent.prototype.onValueChange = function (tag) {
|
|
16
|
-
this.valueChange.emit(tag);
|
|
17
|
-
};
|
|
18
|
-
FormatDropDownListComponent.prototype.focus = function () {
|
|
19
|
-
this.dropDownList.focus();
|
|
20
|
-
};
|
|
21
|
-
tslib_1.__decorate([
|
|
22
|
-
Input(),
|
|
23
|
-
tslib_1.__metadata("design:type", Array)
|
|
24
|
-
], FormatDropDownListComponent.prototype, "data", void 0);
|
|
25
|
-
tslib_1.__decorate([
|
|
26
|
-
Input(),
|
|
27
|
-
tslib_1.__metadata("design:type", String)
|
|
28
|
-
], FormatDropDownListComponent.prototype, "value", void 0);
|
|
29
|
-
tslib_1.__decorate([
|
|
30
|
-
Input(),
|
|
31
|
-
tslib_1.__metadata("design:type", Object)
|
|
32
|
-
], FormatDropDownListComponent.prototype, "defaultItem", void 0);
|
|
33
|
-
tslib_1.__decorate([
|
|
34
|
-
Input(),
|
|
35
|
-
tslib_1.__metadata("design:type", Function)
|
|
36
|
-
], FormatDropDownListComponent.prototype, "itemDisabled", void 0);
|
|
37
|
-
tslib_1.__decorate([
|
|
38
|
-
Input(),
|
|
39
|
-
tslib_1.__metadata("design:type", String)
|
|
40
|
-
], FormatDropDownListComponent.prototype, "title", void 0);
|
|
41
|
-
tslib_1.__decorate([
|
|
42
|
-
Input(),
|
|
43
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
44
|
-
], FormatDropDownListComponent.prototype, "disabled", void 0);
|
|
45
|
-
tslib_1.__decorate([
|
|
46
|
-
Input(),
|
|
47
|
-
tslib_1.__metadata("design:type", Number)
|
|
48
|
-
], FormatDropDownListComponent.prototype, "tabindex", void 0);
|
|
49
|
-
tslib_1.__decorate([
|
|
50
|
-
Output(),
|
|
51
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
52
|
-
], FormatDropDownListComponent.prototype, "valueChange", void 0);
|
|
53
|
-
tslib_1.__decorate([
|
|
54
|
-
ViewChild('element', { static: true }),
|
|
55
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
56
|
-
], FormatDropDownListComponent.prototype, "element", void 0);
|
|
57
|
-
tslib_1.__decorate([
|
|
58
|
-
ViewChild('element', { read: DropDownListComponent, static: true }),
|
|
59
|
-
tslib_1.__metadata("design:type", DropDownListComponent)
|
|
60
|
-
], FormatDropDownListComponent.prototype, "dropDownList", void 0);
|
|
61
|
-
FormatDropDownListComponent = tslib_1.__decorate([
|
|
62
|
-
Component({
|
|
63
|
-
// tslint:disable-next-line:no-forward-ref
|
|
64
|
-
selector: 'kendo-editor-format-dropdownlist',
|
|
65
|
-
template: "\n <kendo-dropdownlist\n #element\n kendoEditorDropDownTool\n [defaultItem]=\"defaultItem\"\n [textField]=\"'text'\"\n [valueField]=\"'tag'\"\n [data]=\"data\"\n [(value)]=\"value\"\n [valuePrimitive]=\"true\"\n [itemDisabled]=\"itemDisabled\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n <ng-container [ngSwitch]=\"dataItem.tag\">\n <span *ngSwitchCase=\"'h1'\" style=\"display: block; font-size: 2em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h2'\" style=\"display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h3'\" style=\"display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h4'\" style=\"display: block; font-size: 1em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h5'\" style=\"display: block; font-size: .83em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h6'\" style=\"display: block; font-size: .67em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'p'\" style=\"display: block; margin-left: 0;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchDefault>{{ dataItem.text }}</span>\n </ng-container>\n </ng-template>\n </kendo-dropdownlist>\n ",
|
|
66
|
-
styles: ["\n .k-dropdownlist {\n width: 13em;\n }\n "]
|
|
67
|
-
})
|
|
68
|
-
], FormatDropDownListComponent);
|
|
69
|
-
return FormatDropDownListComponent;
|
|
70
|
-
}());
|
|
71
|
-
export { FormatDropDownListComponent };
|