@syncfusion/ej2-react-richtexteditor 27.1.51 → 27.1.55

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.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-richtexteditor.min.js
3
- * version : 27.1.51
3
+ * version : 27.1.55
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("SyncfusionRichtexteditor"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionRichtexteditor","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactRichtexteditor=t(require("React"),require("SyncfusionRichtexteditor"),require("SyncfusionReactBase")):e.SyncfusionReactRichtexteditor=t(e.React,e.SyncfusionRichtexteditor,e.SyncfusionReactBase)}(self,((e,t,r)=>(()=>{"use strict";var o={618:(e,t,r)=>{r.d(t,{Y:()=>a});var o,n=r(24),i=r(674),c=r(705),s=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.statelessTemplateProps=["valueTemplate"],r.templateProps=null,r.immediateRender=!1,r.portals=[],r}return s(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.RichTextEditor);(0,c.applyMixins)(a,[c.ComponentBase,n.Component])},24:t=>{t.exports=e},705:e=>{e.exports=r},674:e=>{e.exports=t}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{Inject:()=>t.Inject,RichTextEditorComponent:()=>e.Y});var e=i(618),t=i(705),r=i(674),o={};for(const e in r)["default","Inject","RichTextEditorComponent"].indexOf(e)<0&&(o[e]=()=>r[e]);i.d(c,o)})(),c})()));
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("SyncfusionRichtexteditor"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionRichtexteditor","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactRichtexteditor=t(require("React"),require("SyncfusionRichtexteditor"),require("SyncfusionReactBase")):e.SyncfusionReactRichtexteditor=t(e.React,e.SyncfusionRichtexteditor,e.SyncfusionReactBase)}(self,((e,t,o)=>(()=>{"use strict";var r={618:(e,t,o)=>{o.d(t,{Y:()=>a});var r,n=o(24),i=o(674),c=o(705),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},r(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=e.call(this,t)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!0,o.statelessTemplateProps=["valueTemplate"],o.templateProps=null,o.immediateRender=!1,o.isReactMock=!0,o.portals=[],o}return s(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.RichTextEditor);(0,c.applyMixins)(a,[c.ComponentBase,n.Component])},24:t=>{t.exports=e},705:e=>{e.exports=o},674:e=>{e.exports=t}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{Inject:()=>t.Inject,RichTextEditorComponent:()=>e.Y});var e=i(618),t=i(705),o=i(674),r={};for(const e in o)["default","Inject","RichTextEditorComponent"].indexOf(e)<0&&(r[e]=()=>o[e]);i.d(c,r)})(),c})()));
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-richtexteditor.umd.min.js
3
- * version : 27.1.51
3
+ * version : 27.1.55
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2Richtexteditor,e.ej2ReactBase)}(this,function(t,e,n,r){"use strict";o=function(e,t){return(o=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])}))(e,t)};var o,i,c=function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=(i=n.RichTextEditor,c(s,i),s.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));i.prototype.render.call(this),this.initRenderCalled=!0},s);function s(e){e=i.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=["valueTemplate"],e.templateProps=null,e.immediateRender=!1,e.portals=[],e}r.applyMixins(c,[r.ComponentBase,e.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return r.Inject}}),t.RichTextEditorComponent=c,Object.defineProperty(t,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2Richtexteditor,e.ej2ReactBase)}(this,function(t,e,n,r){"use strict";i=function(e,t){return(i=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])}))(e,t)};var i,o,c=function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=(o=n.RichTextEditor,c(s,o),s.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));o.prototype.render.call(this),this.initRenderCalled=!0},s);function s(e){e=o.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=["valueTemplate"],e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}r.applyMixins(c,[r.ComponentBase,e.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return r.Inject}}),t.RichTextEditorComponent=c,Object.defineProperty(t,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-richtexteditor.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-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})();\nimport * as React from 'react';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RichTextEditor` represents the react RichTextEditor.\n * ```tsx\n * <RichTextEditor/>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = [\"valueTemplate\"];\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n RichTextEditorComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return RichTextEditorComponent;\n}(RichTextEditor));\nexport { RichTextEditorComponent };\napplyMixins(RichTextEditorComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","RichTextEditorComponent","RichTextEditor","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"uZACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAqB+CS,EAtBnDC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFK,GAAmDP,EAsBrDQ,iBArBEP,EAAUM,EAAyBP,CAAM,EAWzCO,EAAwBF,UAAUI,OAAS,WACvC,GAAI,EAAEN,KAAKO,SAAW,CAACP,KAAKQ,kBAAqBR,KAAKS,aAAgBT,KAAKU,oBAKvE,OAAOC,gBAAoB,MAAOX,KAAKY,uBAAwB,GAAGC,OAAOb,KAAKc,MAAMC,SAAUf,KAAKgB,OAAO,CAAC,EAJ3GnB,EAAOK,UAAUI,OAAOW,KAAKjB,IAAI,EACjCA,KAAKQ,iBAAmB,CAAA,GAMzBJ,GAnBP,SAASA,EAAwBU,GACzBI,EAAQrB,EAAOoB,KAAKjB,KAAMc,CAAK,GAAKd,KAOxC,OANAkB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,uBAAyB,CAAC,iBAChCF,EAAMG,cAAgB,KACtBH,EAAMI,gBAAkB,CAAA,EACxBJ,EAAMF,QAAU,GACTE,gBAcHd,EAAyB,CAACmB,gBAAeC,YAAgB"}
1
+ {"version":3,"file":"ej2-react-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})();\nimport * as React from 'react';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RichTextEditor` represents the react RichTextEditor.\n * ```tsx\n * <RichTextEditor/>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = [\"valueTemplate\"];\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n RichTextEditorComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return RichTextEditorComponent;\n}(RichTextEditor));\nexport { RichTextEditorComponent };\napplyMixins(RichTextEditorComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","RichTextEditorComponent","RichTextEditor","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"uZACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAqB+CS,EAtBnDC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFK,GAAmDP,EAwBrDQ,iBAvBEP,EAAUM,EAAyBP,CAAM,EAYzCO,EAAwBF,UAAUI,OAAS,WAEvC,GADAN,KAAKO,YAAc,CAAA,EACf,EAAEP,KAAKQ,SAAW,CAACR,KAAKS,kBAAqBT,KAAKU,aAAgBV,KAAKW,oBAKvE,OAAOC,gBAAoB,MAAOZ,KAAKa,uBAAwB,GAAGC,OAAOd,KAAKe,MAAMC,SAAUhB,KAAKiB,OAAO,CAAC,EAJ3GpB,EAAOK,UAAUI,OAAOY,KAAKlB,IAAI,EACjCA,KAAKS,iBAAmB,CAAA,GAMzBL,GArBP,SAASA,EAAwBW,GACzBI,EAAQtB,EAAOqB,KAAKlB,KAAMe,CAAK,GAAKf,KAQxC,OAPAmB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,uBAAyB,CAAC,iBAChCF,EAAMG,cAAgB,KACtBH,EAAMI,gBAAkB,CAAA,EACxBJ,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,EAAyB,CAACoB,gBAAeC,YAAgB"}
@@ -18,9 +18,11 @@ class RichTextEditorComponent extends RichTextEditor {
18
18
  this.statelessTemplateProps = ["valueTemplate"];
19
19
  this.templateProps = null;
20
20
  this.immediateRender = false;
21
+ this.isReactMock = true;
21
22
  this.portals = [];
22
23
  }
23
24
  render() {
25
+ this.isReactMock = false;
24
26
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
25
27
  super.render();
26
28
  this.initRenderCalled = true;
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-richtexteditor.es2015.js","sources":["../src/es6/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["import * as React from 'react';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RichTextEditor` represents the react RichTextEditor.\n * ```tsx\n * <RichTextEditor/>\n * ```\n */\nexport class RichTextEditorComponent extends RichTextEditor {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = [\"valueTemplate\"];\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(RichTextEditorComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,uBAAuB,SAAS,cAAc,CAAC;AAC5D,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,sBAAsB,GAAG,CAAC,eAAe,CAAC,CAAC;AACxD,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"ej2-react-richtexteditor.es2015.js","sources":["../src/es6/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["import * as React from 'react';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RichTextEditor` represents the react RichTextEditor.\n * ```tsx\n * <RichTextEditor/>\n * ```\n */\nexport class RichTextEditorComponent extends RichTextEditor {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = [\"valueTemplate\"];\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(RichTextEditorComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,uBAAuB,SAAS,cAAc,CAAC;AAC5D,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,sBAAsB,GAAG,CAAC,eAAe,CAAC,CAAC;AACxD,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-richtexteditor@*",
3
- "_id": "@syncfusion/ej2-react-richtexteditor@27.1.50",
3
+ "_id": "@syncfusion/ej2-react-richtexteditor@27.1.52",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-lB57Ibtud23ct0etOYpEy46y7PHwoDxopX8SdZo+xtq5W6ug5f5InxOwnY+vaI/AyyWU36ymYaHWSXAh41EncQ==",
5
+ "_integrity": "sha512-0gK0ZQj+nX28lqGGEX6bbofPWy1u9Gb/vZsU2swK1b8VpZofYom+xl1ysR49QhVz3E4Ci6N1fwGEUcXRp2zKug==",
6
6
  "_location": "/@syncfusion/ej2-react-richtexteditor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-richtexteditor/-/ej2-react-richtexteditor-27.1.50.tgz",
23
- "_shasum": "1f1f769efe80fc3b9fdb416c170487eeaca0d6c1",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-richtexteditor/-/ej2-react-richtexteditor-27.1.52.tgz",
23
+ "_shasum": "50eaf2e64e7fbb73876f6563d6938bf2cf9b97a3",
24
24
  "_spec": "@syncfusion/ej2-react-richtexteditor@*",
25
25
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~27.1.50",
34
+ "@syncfusion/ej2-base": "~27.1.55",
35
35
  "@syncfusion/ej2-react-base": "~27.1.50",
36
- "@syncfusion/ej2-richtexteditor": "27.1.51"
36
+ "@syncfusion/ej2-richtexteditor": "27.1.55"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 RichTextEditor component for React",
@@ -54,6 +54,6 @@
54
54
  "type": "git",
55
55
  "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
56
56
  },
57
- "version": "27.1.51",
57
+ "version": "27.1.55",
58
58
  "sideEffects": false
59
59
  }
@@ -21,6 +21,7 @@ export declare class RichTextEditorComponent extends RichTextEditor {
21
21
  private statelessTemplateProps;
22
22
  private templateProps;
23
23
  private immediateRender;
24
+ private isReactMock;
24
25
  props: Readonly<{
25
26
  children?: React.ReactNode | React.ReactNode[];
26
27
  }> & Readonly<RichTextEditorModel | DefaultHtmlAttributes | RichTextEditorTypecast>;
@@ -29,10 +29,12 @@ var RichTextEditorComponent = /** @class */ (function (_super) {
29
29
  _this.statelessTemplateProps = ["valueTemplate"];
30
30
  _this.templateProps = null;
31
31
  _this.immediateRender = false;
32
+ _this.isReactMock = true;
32
33
  _this.portals = [];
33
34
  return _this;
34
35
  }
35
36
  RichTextEditorComponent.prototype.render = function () {
37
+ this.isReactMock = false;
36
38
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
37
39
  _super.prototype.render.call(this);
38
40
  this.initRenderCalled = true;