@syncfusion/ej2-vue-richtexteditor 19.3.57 → 19.4.48

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/CHANGELOG.md CHANGED
@@ -2,28 +2,38 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 19.4.47 (2022-01-25)
6
+
7
+ ### RichTextEditor
8
+
9
+ #### Bug Fixes
10
+
11
+ - `#I361186` - The issue with "Strange behavior occurred in the Rich Text Editor component, when repeatedly pressing the `shift + enter` key" has been resolved.
12
+
13
+ ## 19.4.40 (2021-12-28)
14
+
5
15
  ### RichTextEditor
6
16
 
7
17
  #### Bug Fixes
8
18
 
9
- - `#I356983` - The issue with "Unwanted line is added in Rich Text Editor, when performing the drag and drop image upload" has been resolved.
10
- - `#I347461` - The issue with "When we have two images in the Rich Text Editor and you click on one and then the next one, the quickToolbar popup does not appear" has been resolved
11
- - `#I343770` - The issue with "Image is not deleted when press backspace and delete button" has been resolved.
12
- - `#I356969` - The issue with "Rich Text Editor Image quickToolbar popup is not hidden, if we cancel uploading with the popup being opened" has been resolved.
13
- - `#I346752` - The issue with "applying code format to the already applied code format content reverts to paragraph" has been resolved.
14
- - `#F170386` - The issue with "shift enter key is not working properly when `shiftEnterKey` is configured as `BR` in the safari browser" has been resolved.
15
- - `#I347313` - The issue with "previous line is removed when pressing enter key after shift enter key action" has been resolved.
16
- - `#I347461` - The issue with "image resize not working when an image is resized to the full Rich Text Editor size and trying to minimize the image by clicking on the bottom right resize icon" has been resolved.
17
- - `#I356989` - The issue with "image element not returned properly, while applying any alignments before image upload success is completed" has been resolved.
18
- - `#I348816` - The issue with "special characters are added in the Rich Text Editor when pasting the link" has been resolved.
19
+ - `#I347512` - The issue with "ColorPicker of Table quick toolbar got reset whenever quick toolbar rendered" has been resolved.
20
+ - `#I358633` - Now, pasting alpha list type contents from the MS Word into the Rich Text Editor works properly.
21
+ - `#I359685` - Now, enter key action works properly when an image is added in the list and pressed enter.
22
+ - `#I359685` - Now, pressing the space key after `11.` works properly and doesn't create a list.
23
+ - `#I358998` - Now, focusing on other elements when the cursor is in Rich Text Editor works properly in the IE11 browser.
24
+ - `#F171387` - Now, pressing the backspace key when the cursor is at the start of the last list element works properly.
19
25
 
20
- ## 19.3.55 (2021-11-23)
26
+ ## 19.4.38 (2021-12-17)
21
27
 
22
28
  ### RichTextEditor
23
29
 
24
30
  #### Bug Fixes
25
31
 
26
- - `#I347461` - The issue with "quickToolbar of image is not hidden, when we click on the popup and then press Esc to hide" has been resolved.
32
+ - `#I347512` - The issue with "ColorPicker of Table quick toolbar got reset every time when quick toolbar rendered" has been resolved.
33
+ - `#I347324` - The issue with "pressing enter key creates a new line when read only mode is enabled dynamically" has been resolved.
34
+ - `#I355194` - The issue with "console error occurs when undo icon in the toolbar is clicked after inserting the content using the `tribute js`" has been resolved.
35
+ - `#I348822` - The issue with "selecting some content and applying font and background color alternatively will create some new elements" has been resolved.
36
+ - `#I349275` - The issue with "image resizing is not working properly when image height is greater than image width" has been resolved.
27
37
 
28
38
  ## 19.3.53 (2021-11-12)
29
39
 
@@ -103,6 +113,7 @@
103
113
  #### Bug Fixes
104
114
 
105
115
  - `#I332614` - Resolved the issue with table row and column are not resizable, when its position exceeds the height of the Rich Text Editor.
116
+ - `#I338000` - The issue with `actionComplete` event triggered twice, when replacing the inserted image using QuickToolbar has been resolved.
106
117
  - `#I340075` - The issue with "Resizing the table columns not updated the table cells properly" has been resolved.
107
118
 
108
119
  ## 19.2.59 (2021-08-31)
package/README.md CHANGED
@@ -65,4 +65,4 @@ Check the license details [here](https://github.com/syncfusion/ej2/blob/master/l
65
65
  ## 8. Change log
66
66
  Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/richtexteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
67
67
 
68
- © Copyright 2019 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
68
+ © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,20 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-richtexteditor.umd.min.js
3
- * version : 19.3.57
3
+ * version : 19.4.48
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- /*!
11
- * filename: ej2-vue-richtexteditor.umd.min.js
12
- * version : 19.1.63
13
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
- * Use of this code is subject to the terms of our license.
15
- * A copy of the current license can be obtained at any time by e-mailing
16
- * licensing@syncfusion.com. Any infringement will be prosecuted under
17
- * applicable laws.
18
- */
19
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["autoSaveOnIdle","backgroundColor","cssClass","editorMode","enableAutoUrl","enableHtmlEncode","enableHtmlSanitizer","enablePersistence","enableResize","enableRtl","enableTabKey","enableXhtml","enabled","fileManagerSettings","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","afterImageDelete","afterPasteCleanup","beforeDialogClose","beforeDialogOpen","beforeImageDrop","beforeImageUpload","beforePasteCleanup","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","focus","imageRemoving","imageSelected","imageUploadFailed","imageUploadSuccess","imageUploading","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate","updatedToolbarStatus"],a=["value"],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return r(c,e),c.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},c.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},c.prototype.render=function(e){return e("textarea",this.$slots.default)},c.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},c.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},c.prototype.executeCommand=function(e,t,n){return this.ej2Instances.executeCommand(e,t,n)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.focusOut=function(){return this.ej2Instances.focusOut()},c.prototype.getCharCount=function(){return this.ej2Instances.getCharCount()},c.prototype.getContent=function(){return this.ej2Instances.getContent()},c.prototype.getHtml=function(){return this.ej2Instances.getHtml()},c.prototype.getRange=function(){return this.ej2Instances.getRange()},c.prototype.getSelectedHtml=function(){return this.ej2Instances.getSelectedHtml()},c.prototype.getSelection=function(){return this.ej2Instances.getSelection()},c.prototype.getText=function(){return this.ej2Instances.getText()},c.prototype.getXhtml=function(){return this.ej2Instances.getXhtml()},c.prototype.hideInlineToolbar=function(){return this.ej2Instances.hideInlineToolbar()},c.prototype.print=function(){return this.ej2Instances.print()},c.prototype.refreshUI=function(){return this.ej2Instances.refreshUI()},c.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},c.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},c.prototype.selectAll=function(){return this.ej2Instances.selectAll()},c.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},c.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},c.prototype.showInlineToolbar=function(){return this.ej2Instances.showInlineToolbar()},c.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},c=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],c)}(o.ComponentBase),l={name:"ejs-richtexteditor",install:function(e){e.component(l.name,c)}};e.RichTextEditorComponent=c,e.RichTextEditorPlugin=l,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=function(e,t,n,o){var s,r=arguments.length,i=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},i=["isLazyUpdate","autoSaveOnIdle","backgroundColor","bulletFormatList","cssClass","editorMode","enableAutoUrl","enableHtmlEncode","enableHtmlSanitizer","enablePersistence","enableResize","enableRtl","enableTabKey","enableXhtml","enabled","enterKey","fileManagerSettings","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertImageSettings","keyConfig","locale","maxLength","numberFormatList","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","shiftEnterKey","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","afterImageDelete","afterPasteCleanup","beforeDialogClose","beforeDialogOpen","beforeImageDrop","beforeImageUpload","beforePasteCleanup","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","focus","imageRemoving","imageSelected","imageUploadFailed","imageUploadSuccess","imageUploading","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate","updatedToolbarStatus"],a=["value"],c=o.getProps({props:i}),l=(c[0],c[1]),u=Object.keys(l);u.push("modelchanged");for(var p=0,h=a;p<h.length;p++){var d=h[p];u.push("update:"+d)}var f=!o.gh,g=function(e){function c(){var n=e.call(this,arguments)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.isVue3=!f,n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n}return s(c,e),c.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var s=o[t],r=this.templateCollection[s];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[s]}}},c.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},c.prototype.trigger=function(e,t,o){if(f||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(f?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(f?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},c.prototype.render=function(e){var t=o.gh||e,s=null;return n.isNullOrUndefined(this.$slots.default)||(s=o.gh?this.$slots.default():this.$slots.default),t("textarea",s)},c.prototype.closeDialog=function(e){return this.ej2Instances.closeDialog(e)},c.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},c.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},c.prototype.executeCommand=function(e,t,n){return this.ej2Instances.executeCommand(e,t,n)},c.prototype.focusIn=function(){return this.ej2Instances.focusIn()},c.prototype.focusOut=function(){return this.ej2Instances.focusOut()},c.prototype.getCharCount=function(){return this.ej2Instances.getCharCount()},c.prototype.getContent=function(){return this.ej2Instances.getContent()},c.prototype.getHtml=function(){return this.ej2Instances.getHtml()},c.prototype.getRange=function(){return this.ej2Instances.getRange()},c.prototype.getSelectedHtml=function(){return this.ej2Instances.getSelectedHtml()},c.prototype.getSelection=function(){return this.ej2Instances.getSelection()},c.prototype.getText=function(){return this.ej2Instances.getText()},c.prototype.getXhtml=function(){return this.ej2Instances.getXhtml()},c.prototype.hideInlineToolbar=function(){return this.ej2Instances.hideInlineToolbar()},c.prototype.print=function(){return this.ej2Instances.print()},c.prototype.refreshUI=function(){return this.ej2Instances.refreshUI()},c.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},c.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},c.prototype.selectAll=function(){return this.ej2Instances.selectAll()},c.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},c.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},c.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},c.prototype.showInlineToolbar=function(){return this.ej2Instances.showInlineToolbar()},c.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},c=r([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}},f)],c)}(o.ComponentBase),m={name:"ejs-richtexteditor",install:function(e){e.component(m.name,g)}};e.RichTextEditorComponent=g,e.RichTextEditorPlugin=m,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
20
11
  //# sourceMappingURL=ej2-vue-richtexteditor.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-richtexteditor.umd.min.js","sources":["../src/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nexport var properties = ['autoSaveOnIdle', 'backgroundColor', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport var modelProps = ['value'];\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new RichTextEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n if (this.ej2Instances && this.ej2Instances._trigger) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n RichTextEditorComponent.prototype.render = function (createElement) {\n return createElement('textarea', this.$slots.default);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n })\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","RichTextEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","RichTextEditor","_trigger","trigger","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","render","createElement","$slots","default","disableToolbarItem","items","muteToolbarUpdate","enableToolbarItem","executeCommand","commandName","value","option","focusIn","focusOut","getCharCount","getContent","getHtml","getRange","getSelectedHtml","getSelection","getText","getXhtml","hideInlineToolbar","print","refreshUI","removeToolbarItem","sanitizeHtml","selectAll","selectRange","range","showFullScreen","showInlineToolbar","showSourceCode","EJComponentDecorator","props","event","ComponentBase","RichTextEditorPlugin","name","install","Vue","component"],"mappings":"uaAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,E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E,KAAK8B,aAAawC,mBAE7BlD,EAAwBlB,UAAUqE,aAAe,WAC7C,OAAOvE,KAAK8B,aAAayC,gBAE7BnD,EAAwBlB,UAAUsE,QAAU,WACxC,OAAOxE,KAAK8B,aAAa0C,WAE7BpD,EAAwBlB,UAAUuE,SAAW,WACzC,OAAOzE,KAAK8B,aAAa2C,YAE7BrD,EAAwBlB,UAAUwE,kBAAoB,WAClD,OAAO1E,KAAK8B,aAAa4C,qBAE7BtD,EAAwBlB,UAAUyE,MAAQ,WACtC,OAAO3E,KAAK8B,aAAa6C,SAE7BvD,EAAwBlB,UAAU0E,UAAY,WAC1C,OAAO5E,KAAK8B,aAAa8C,aAE7BxD,EAAwBlB,UAAU2E,kBAAoB,SAAUpB,GAC5D,OAAOzD,KAAK8B,aAAa+C,kBAAkBpB,IAE/CrC,EAAwBlB,UAAU4E,aAAe,SAAUhB,GACvD,OAAO9D,KAAK8B,aAAagD,aAAahB,IAE1C1C,EAAwBlB,UAAU6E,UAAY,WAC1C,OAAO/E,KAAK8B,aAAaiD,aAE7B3D,EAAwBlB,UAAU8E,YAAc,SAAUC,GACtD,OAAOjF,KAAK8B,aAAakD,YAAYC,IAEzC7D,EAAwBlB,UAAUgF,eAAiB,WAC/C,OAAOlF,KAAK8B,aAAaoD,kBAE7B9D,EAAwBlB,UAAUiF,kBAAoB,WAClD,OAAOnF,KAAK8B,aAAaqD,qBAE7B/D,EAAwBlB,UAAUkF,eAAiB,WAC/C,OAAOpF,KAAK8B,aAAasD,kBAE7BhE,EAA0BhB,GACtBiF,wBACIC,MAAOpE,EACPuB,OACI8C,MAAO,mBAGhBnE,IAELoE,iBAESC,GACPC,KAAM,qBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAqBC,KAAMtE"}
1
+ {"version":3,"file":"ej2-vue-richtexteditor.umd.min.js","sources":["../src/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new RichTextEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n return _this;\n }\n RichTextEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n RichTextEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n };\n RichTextEditorComponent.prototype.closeDialog = function (type) {\n return this.ej2Instances.closeDialog(type);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showDialog = function (type) {\n return this.ej2Instances.showDialog(type);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","testProp","getProps","props","watch","emitProbs","keys","push","_i","modelProps_1","props_1","isExecute","gh","RichTextEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","ej2Instances","RichTextEditor","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateCollection","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","referModels","map","model","test","vueInstance","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","$props","isLazyUpdate","render","createElement","h","slots","isNullOrUndefined","$slots","default","closeDialog","type","disableToolbarItem","items","muteToolbarUpdate","enableToolbarItem","executeCommand","commandName","value","option","focusIn","focusOut","getCharCount","getContent","getHtml","getRange","getSelectedHtml","getSelection","getText","getXhtml","hideInlineToolbar","print","refreshUI","removeToolbarItem","sanitizeHtml","selectAll","selectRange","range","showDialog","showFullScreen","showInlineToolbar","showSourceCode","EJComponentDecorator","event","ComponentBase","RichTextEditorPlugin","name","install","Vue","component"],"mappings":"uaAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,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JE,IAEL0F,iBAESC,GACPC,KAAM,qBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAqBC,KAAM5F"}
@@ -9,7 +9,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
11
  // {{VueImport}}
12
- const properties = ['islazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];
12
+ const properties = ['isLazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];
13
13
  const modelProps = ['value'];
14
14
  const testProp = getProps({ props: properties });
15
15
  const props = testProp[0];
@@ -108,7 +108,7 @@ class RichTextEditorComponent extends ComponentBase {
108
108
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
109
109
  }
110
110
  else {
111
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
111
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
112
112
  this.$emit('update:' + propKey, eventProp[propKey]);
113
113
  this.$emit('modelchanged', eventProp[propKey]);
114
114
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-richtexteditor.es2015.js","sources":["../src/es6/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport const properties = ['islazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nlet RichTextEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n}) End */\nclass RichTextEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new RichTextEditor({});\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n }\n closeDialog(type) {\n return this.ej2Instances.closeDialog(type);\n }\n disableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n }\n enableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n }\n executeCommand(commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n }\n focusIn() {\n return this.ej2Instances.focusIn();\n }\n focusOut() {\n return this.ej2Instances.focusOut();\n }\n getCharCount() {\n return this.ej2Instances.getCharCount();\n }\n getContent() {\n return this.ej2Instances.getContent();\n }\n getHtml() {\n return this.ej2Instances.getHtml();\n }\n getRange() {\n return this.ej2Instances.getRange();\n }\n getSelectedHtml() {\n return this.ej2Instances.getSelectedHtml();\n }\n getSelection() {\n return this.ej2Instances.getSelection();\n }\n getText() {\n return this.ej2Instances.getText();\n }\n getXhtml() {\n return this.ej2Instances.getXhtml();\n }\n hideInlineToolbar() {\n return this.ej2Instances.hideInlineToolbar();\n }\n print() {\n return this.ej2Instances.print();\n }\n refreshUI() {\n return this.ej2Instances.refreshUI();\n }\n removeToolbarItem(items) {\n return this.ej2Instances.removeToolbarItem(items);\n }\n sanitizeHtml(value) {\n return this.ej2Instances.sanitizeHtml(value);\n }\n selectAll() {\n return this.ej2Instances.selectAll();\n }\n selectRange(range) {\n return this.ej2Instances.selectRange(range);\n }\n showDialog(type) {\n return this.ej2Instances.showDialog(type);\n }\n showFullScreen() {\n return this.ej2Instances.showFullScreen();\n }\n showInlineToolbar() {\n return this.ej2Instances.showInlineToolbar();\n }\n showSourceCode() {\n return this.ej2Instances.showSourceCode();\n }\n};\nRichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n], RichTextEditorComponent);\nexport { RichTextEditorComponent };\nexport const RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install(Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,E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AAU,CAAC,IAAI,CAAC,CAAC;KAC7C;IACD,cAAc,GAAG;QACb,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C;IACD,iBAAiB,GAAG;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,CAAC;KAChD;IACD,cAAc,GAAG;QACb,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C;CACJ,CAAC;AACF,uBAAuB,GAAG,UAAU,CAAC;IACjC,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE;YACH,KAAK,EAAE,cAAc;SACxB;KACJ,EAAE,SAAS,CAAC;;;;;;CAMhB,EAAE,uBAAuB,CAAC,CAAC;AAC5B,AACO,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-richtexteditor.es2015.js","sources":["../src/es6/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\nexport const isExecute = gh ? false : true;\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nlet RichTextEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n}) End */\nclass RichTextEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new RichTextEditor({});\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n }\n render(createElement) {\n let h = gh || createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n }\n closeDialog(type) {\n return this.ej2Instances.closeDialog(type);\n }\n disableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n }\n enableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n }\n executeCommand(commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n }\n focusIn() {\n return this.ej2Instances.focusIn();\n }\n focusOut() {\n return this.ej2Instances.focusOut();\n }\n getCharCount() {\n return this.ej2Instances.getCharCount();\n }\n getContent() {\n return this.ej2Instances.getContent();\n }\n getHtml() {\n return this.ej2Instances.getHtml();\n }\n getRange() {\n return this.ej2Instances.getRange();\n }\n getSelectedHtml() {\n return this.ej2Instances.getSelectedHtml();\n }\n getSelection() {\n return this.ej2Instances.getSelection();\n }\n getText() {\n return this.ej2Instances.getText();\n }\n getXhtml() {\n return this.ej2Instances.getXhtml();\n }\n hideInlineToolbar() {\n return this.ej2Instances.hideInlineToolbar();\n }\n print() {\n return this.ej2Instances.print();\n }\n refreshUI() {\n return this.ej2Instances.refreshUI();\n }\n removeToolbarItem(items) {\n return this.ej2Instances.removeToolbarItem(items);\n }\n sanitizeHtml(value) {\n return this.ej2Instances.sanitizeHtml(value);\n }\n selectAll() {\n return this.ej2Instances.selectAll();\n }\n selectRange(range) {\n return this.ej2Instances.selectRange(range);\n }\n showDialog(type) {\n return this.ej2Instances.showDialog(type);\n }\n showFullScreen() {\n return this.ej2Instances.showFullScreen();\n }\n showInlineToolbar() {\n return this.ej2Instances.showInlineToolbar();\n }\n showSourceCode() {\n return this.ej2Instances.showSourceCode();\n }\n};\nRichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n], RichTextEditorComponent);\nexport { RichTextEditorComponent };\nexport const RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install(Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAA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K,EAAE;YACH,KAAK,EAAE,cAAc;SACxB;KACJ,EAAE,SAAS,CAAC;;;;;;CAMhB,EAAE,uBAAuB,CAAC,CAAC;AAC5B,AACO,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
@@ -22,7 +22,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
22
22
  return c > 3 && r && Object.defineProperty(target, key, r), r;
23
23
  };
24
24
  import { Options } from 'vue-class-component';
25
- var properties = ['islazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];
25
+ var properties = ['isLazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];
26
26
  var modelProps = ['value'];
27
27
  var testProp = getProps({ props: properties });
28
28
  var props = testProp[0];
@@ -121,7 +121,7 @@ var RichTextEditorComponent = /** @__PURE__ @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
124
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
125
125
  this.$emit('update:' + propKey, eventProp[propKey]);
126
126
  this.$emit('modelchanged', eventProp[propKey]);
127
127
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-richtexteditor.es5.js","sources":["../../src/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport var properties = ['islazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new RichTextEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n return _this;\n }\n RichTextEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n RichTextEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n };\n RichTextEditorComponent.prototype.closeDialog = function (type) {\n return this.ej2Instances.closeDialog(type);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showDialog = function (type) {\n return this.ej2Instances.showDialog(type);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["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AAC,YAAY,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;KAC/C,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,IAAI,EAAE;QAC3D,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;KAC7C,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,cAAc,GAAG,YAAY;QAC3D,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,iBAAiB,GAAG,YAAY;QAC9D,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,CAAC;KAChD,CAAC;IACF,uBAAuB,CAAC,SAAS,CAAC,cAAc,GAAG,YAAY;QAC3D,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C,CAAC;IACF,uBAAuB,GAAG,UAAU,CAAC;QACjC,oBAAoB,CAAC;YACjB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE;gBACH,KAAK,EAAE,cAAc;aACxB;SACJ,EAAE,SAAS,CAAC;;;;;;KAMhB,EAAE,uBAAuB,CAAC,CAAC;IAC5B,OAAO,uBAAuB,CAAC;CAClC,CAAC,aAAa,CAAC,CAAC,CAAC;AAClB,AACO,IAAI,oBAAoB,GAAG;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,UAAU,GAAG,EAAE;QACpB,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-richtexteditor.es5.js","sources":["../../src/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertImageSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport var modelProps = ['value'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new RichTextEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n return _this;\n }\n RichTextEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n RichTextEditorComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n };\n RichTextEditorComponent.prototype.closeDialog = function (type) {\n return this.ej2Instances.closeDialog(type);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showDialog = function (type) {\n return this.ej2Instances.showDialog(type);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,CAAC,YAAY;IACrD,IAAI,aAAa,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE;QAChC,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,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