@syncfusion/ej2-vue-richtexteditor 20.1.55 → 20.1.58

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/ej2-vue-richtexteditor.umd.min.js +2 -29
  3. package/dist/ej2-vue-richtexteditor.umd.min.js.map +1 -1
  4. package/dist/global/ej2-vue-richtexteditor.min.js +2 -2
  5. package/package.json +8 -8
  6. package/styles/bootstrap-dark.css +135 -519
  7. package/styles/bootstrap.css +136 -525
  8. package/styles/bootstrap4.css +145 -572
  9. package/styles/bootstrap5-dark.css +135 -539
  10. package/styles/bootstrap5.css +135 -539
  11. package/styles/fabric-dark.css +134 -518
  12. package/styles/fabric.css +135 -519
  13. package/styles/fluent-dark.css +134 -521
  14. package/styles/fluent.css +134 -521
  15. package/styles/highcontrast-light.css +135 -519
  16. package/styles/highcontrast.css +135 -517
  17. package/styles/material-dark.css +134 -518
  18. package/styles/material.css +135 -519
  19. package/styles/rich-text-editor/bootstrap-dark.css +135 -519
  20. package/styles/rich-text-editor/bootstrap.css +136 -525
  21. package/styles/rich-text-editor/bootstrap4.css +145 -572
  22. package/styles/rich-text-editor/bootstrap5-dark.css +135 -539
  23. package/styles/rich-text-editor/bootstrap5.css +135 -539
  24. package/styles/rich-text-editor/fabric-dark.css +134 -518
  25. package/styles/rich-text-editor/fabric.css +135 -519
  26. package/styles/rich-text-editor/fluent-dark.css +134 -521
  27. package/styles/rich-text-editor/fluent.css +134 -521
  28. package/styles/rich-text-editor/highcontrast-light.css +135 -519
  29. package/styles/rich-text-editor/highcontrast.css +135 -517
  30. package/styles/rich-text-editor/material-dark.css +134 -518
  31. package/styles/rich-text-editor/material.css +135 -519
  32. package/styles/rich-text-editor/tailwind-dark.css +135 -524
  33. package/styles/rich-text-editor/tailwind.css +135 -524
  34. package/styles/tailwind-dark.css +135 -524
  35. package/styles/tailwind.css +135 -524
package/CHANGELOG.md CHANGED
@@ -6,6 +6,38 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
+ - `#I378721` - Now, pressing the enter key on the selection of multiple paragraph contents works properly in the `Firefox` browser.
10
+ - `#I378378` - Now, copying and pasting the contents with a length that exceeds the `maxLength` API is properly prevented.
11
+ - `#I378378` - Now, adding a link, image, and table is properly prevented when the content length exceeds the `maxLength` API limit.
12
+ - `#I376816` - Now, applying the list by selecting all content that is pasted in the Rich Text Editor on the `Firefox` browser works and doesn't raise any console errors.
13
+ - `#I378378` - Now, copying and pasting the contents with a length less than or equal to the `maxLength` API is pasted properly in the Rich Text Editor.
14
+ - `#I380152` - Now, typing content in the Rich Text Editor when loading empty `P` tags in the `Iframe` mode works properly.
15
+ - `#I380165` - Now, the focus will be maintained properly after pressing the enter key in the Rich Text Editor when loading empty `P` tags.
16
+
17
+ ## 20.1.57 (2022-05-24)
18
+
19
+ ### RichTextEditor
20
+
21
+ #### Bug Fixes
22
+
23
+ - `#I376816` - Now, pressing the backspace or delete key after selecting all list contents in the Rich Text Editor removes the list properly.
24
+
25
+ ## 20.1.56 (2022-05-17)
26
+
27
+ ### RichTextEditor
28
+
29
+ #### Bug Fixes
30
+
31
+ - `#I377121` - Now, adding the `cssClass` property will also add the CSS class to all the dependent components of the Rich Text Editor.
32
+ - `#I376816` - Now, applying list by selecting all content which is pasted in the Rich Text Editor on the `Firefox` browser works properly.
33
+ - `#SF-378184` - Now, the script error is not thrown when resizing the Rich Text Editor component with inline mode.
34
+
35
+ ## 20.1.55 (2022-05-12)
36
+
37
+ ### RichTextEditor
38
+
39
+ #### Bug Fixes
40
+
9
41
  - `#I374234` - Now, the Rich Text Editor table resize works properly when width is configured for the parent element.
10
42
 
11
43
  ## 20.1.52 (2022-05-04)
@@ -1,38 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-richtexteditor.umd.min.js
3
- * version : 20.1.55
3
+ * version : 20.1.58
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 : 20.1.47
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
- /*!
20
- * filename: ej2-vue-richtexteditor.umd.min.js
21
- * version : 19.4.38
22
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
23
- * Use of this code is subject to the terms of our license.
24
- * A copy of the current license can be obtained at any time by e-mailing
25
- * licensing@syncfusion.com. Any infringement will be prosecuted under
26
- * applicable laws.
27
- */
28
- /*!
29
- * filename: ej2-vue-richtexteditor.umd.min.js
30
- * version : 19.1.63
31
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
32
- * Use of this code is subject to the terms of our license.
33
- * A copy of the current license can be obtained at any time by e-mailing
34
- * licensing@syncfusion.com. Any infringement will be prosecuted under
35
- * applicable laws.
36
- */
37
- !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,m=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.updated=n.updated,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.vueInstance.$emit("update:modelValue",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.custom=function(){this.updated()},c.prototype.cleanList=function(e){return this.ej2Instances.cleanList(e)},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),g={name:"ejs-richtexteditor",install:function(e){e.component(g.name,m)}};e.RichTextEditorComponent=m,e.RichTextEditorPlugin=g,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
38
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,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,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAASzB,EAAIc,EAAWW,MAAIJ,GAAKH,EAAI,EAAIlB,EAAEqB,GAAKH,EAAI,EAAIlB,EAAEe,EAAQC,EAAKK,GAAKrB,EAAEe,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKnB,OAAOwB,eAAeX,EAAQC,EAAKK,GAAIA,GAKrDM,GAAc,iBAAkB,kBAAmB,WAAY,aAAc,gBAAiB,mBAAoB,sBAAuB,oBAAqB,eAAgB,YAAa,eAAgB,cAAe,UAAW,sBAAuB,wBAAyB,YAAa,aAAc,WAAY,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B,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 _this.updated = _this.updated;\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 this.ej2Instances.vueInstance.$emit('update:modelValue', 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.custom = function () {\n this.updated();\n };\n RichTextEditorComponent.prototype.cleanList = function (e) {\n return this.ej2Instances.cleanList(e);\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 provide: function provide() {\n return {\n custom: this.custom\n };\n }\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","updated","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","custom","cleanList","e","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,SAA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