@syncfusion/ej2-react-pdfviewer 27.1.52 → 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-pdfviewer.min.js
3
- * version : 27.1.52
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("SyncfusionPdfviewer"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionPdfviewer","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactPdfviewer=t(require("React"),require("SyncfusionPdfviewer"),require("SyncfusionReactBase")):e.SyncfusionReactPdfviewer=t(e.React,e.SyncfusionPdfviewer,e.SyncfusionReactBase)}(self,((e,t,r)=>(()=>{"use strict";var n={804:(e,t,r)=>{r.d(t,{r:()=>a});var n,o=r(24),i=r(92),s=r(705),c=(n=function(e,t){return n=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])},n(e,t)},function(e,t){function r(){this.constructor=e}n(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=null,r.templateProps=null,r.immediateRender=!0,r.portals=[],r}return c(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.PdfViewer);(0,s.applyMixins)(a,[s.ComponentBase,o.Component])},24:t=>{t.exports=e},92:e=>{e.exports=t},705:e=>{e.exports=r}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[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 s={};return(()=>{i.r(s),i.d(s,{Inject:()=>t.Inject,PdfViewerComponent:()=>e.r});var e=i(804),t=i(705),r=i(92),n={};for(const e in r)["default","Inject","PdfViewerComponent"].indexOf(e)<0&&(n[e]=()=>r[e]);i.d(s,n)})(),s})()));
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("SyncfusionPdfviewer"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionPdfviewer","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactPdfviewer=t(require("React"),require("SyncfusionPdfviewer"),require("SyncfusionReactBase")):e.SyncfusionReactPdfviewer=t(e.React,e.SyncfusionPdfviewer,e.SyncfusionReactBase)}(self,((e,t,r)=>(()=>{"use strict";var n={804:(e,t,r)=>{r.d(t,{r:()=>a});var n,o=r(24),i=r(92),c=r(705),s=(n=function(e,t){return n=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])},n(e,t)},function(e,t){function r(){this.constructor=e}n(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=null,r.templateProps=null,r.immediateRender=!0,r.isReactMock=!0,r.portals=[],r}return s(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.PdfViewer);(0,c.applyMixins)(a,[c.ComponentBase,o.Component])},24:t=>{t.exports=e},92:e=>{e.exports=t},705:e=>{e.exports=r}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[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,PdfViewerComponent:()=>e.r});var e=i(804),t=i(705),r=i(92),n={};for(const e in r)["default","Inject","PdfViewerComponent"].indexOf(e)<0&&(n[e]=()=>r[e]);i.d(c,n)})(),c})()));
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-pdfviewer.umd.min.js
3
- * version : 27.1.52
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-pdfviewer"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2Pdfviewer,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,s=function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=(i=n.PdfViewer,s(c,i),c.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},c);function c(e){e=i.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.portals=[],e}r.applyMixins(s,[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.PdfViewerComponent=s,Object.defineProperty(t,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-pdfviewer"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2Pdfviewer,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.PdfViewer,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=null,e.templateProps=null,e.immediateRender=!0,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.PdfViewerComponent=c,Object.defineProperty(t,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-pdfviewer.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.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 { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```tsx\n * <PdfViewerComponent />\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n PdfViewerComponent.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 PdfViewerComponent;\n}(PdfViewer));\nexport { PdfViewerComponent };\napplyMixins(PdfViewerComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","PdfViewerComponent","PdfViewer","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"wYACQA,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,EAqB0CS,EAtB9CC,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,GAA8CP,EAsBhDQ,YArBEP,EAAUM,EAAoBP,CAAM,EAWpCO,EAAmBF,UAAUI,OAAS,WAClC,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,EAAmBU,GACpBI,EAAQrB,EAAOoB,KAAKjB,KAAMc,CAAK,GAAKd,KAOxC,OANAkB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,uBAAyB,KAC/BF,EAAMG,cAAgB,KACtBH,EAAMI,gBAAkB,CAAA,EACxBJ,EAAMF,QAAU,GACTE,gBAcHd,EAAoB,CAACmB,gBAAeC,YAAgB"}
1
+ {"version":3,"file":"ej2-react-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.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 { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```tsx\n * <PdfViewerComponent />\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n PdfViewerComponent.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 PdfViewerComponent;\n}(PdfViewer));\nexport { PdfViewerComponent };\napplyMixins(PdfViewerComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","PdfViewerComponent","PdfViewer","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"wYACQA,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,EAqB0CS,EAtB9CC,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,GAA8CP,EAwBhDQ,YAvBEP,EAAUM,EAAoBP,CAAM,EAYpCO,EAAmBF,UAAUI,OAAS,WAElC,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,EAAmBW,GACpBI,EAAQtB,EAAOqB,KAAKlB,KAAMe,CAAK,GAAKf,KAQxC,OAPAmB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,uBAAyB,KAC/BF,EAAMG,cAAgB,KACtBH,EAAMI,gBAAkB,CAAA,EACxBJ,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,EAAoB,CAACoB,gBAAeC,YAAgB"}
@@ -18,9 +18,11 @@ class PdfViewerComponent extends PdfViewer {
18
18
  this.statelessTemplateProps = null;
19
19
  this.templateProps = null;
20
20
  this.immediateRender = true;
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-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import * as React from 'react';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```tsx\n * <PdfViewerComponent />\n * ```\n */\nexport class PdfViewerComponent extends PdfViewer {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\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(PdfViewerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,kBAAkB,SAAS,SAAS,CAAC;AAClD,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,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;AACpC,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,kBAAkB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"ej2-react-pdfviewer.es2015.js","sources":["../src/es6/pdfviewer/pdfviewer.component.js"],"sourcesContent":["import * as React from 'react';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `Represents the react PdfViewer Component.\n * ```tsx\n * <PdfViewerComponent />\n * ```\n */\nexport class PdfViewerComponent extends PdfViewer {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\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(PdfViewerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,kBAAkB,SAAS,SAAS,CAAC;AAClD,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,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;AACpC,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,kBAAkB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-pdfviewer@*",
3
- "_id": "@syncfusion/ej2-react-pdfviewer@27.1.50",
3
+ "_id": "@syncfusion/ej2-react-pdfviewer@27.1.53",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-F0FCDt5pv5KBAQp+3xOLbaNKKd0uNOj+XDicYSq6U5ffEAeiSoy07Iuftpt6qrdSSKf0tLVF9mJizd61ptCLbg==",
5
+ "_integrity": "sha512-yMzxdnznwT/48ikcPOCoeOmXp2/0r698/ArGwl25KDfgqmEFSh7oG8PnPOamphcRjVUgKpzOusfBjPTJKFV3mA==",
6
6
  "_location": "/@syncfusion/ej2-react-pdfviewer",
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-pdfviewer/-/ej2-react-pdfviewer-27.1.50.tgz",
23
- "_shasum": "95235715e22ccbc7e47c5a8ad97540048877d448",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-pdfviewer/-/ej2-react-pdfviewer-27.1.53.tgz",
23
+ "_shasum": "d5438186e11c772812bd83697a76e52de8eab8d5",
24
24
  "_spec": "@syncfusion/ej2-react-pdfviewer@*",
25
25
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
26
26
  "author": {
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~27.1.52",
35
- "@syncfusion/ej2-pdfviewer": "27.1.52",
34
+ "@syncfusion/ej2-base": "~27.1.55",
35
+ "@syncfusion/ej2-pdfviewer": "27.1.55",
36
36
  "@syncfusion/ej2-react-base": "~27.1.50"
37
37
  },
38
38
  "deprecated": false,
@@ -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.52",
57
+ "version": "27.1.55",
58
58
  "sideEffects": false
59
59
  }
@@ -18,6 +18,7 @@ export declare class PdfViewerComponent extends PdfViewer {
18
18
  private statelessTemplateProps;
19
19
  private templateProps;
20
20
  private immediateRender;
21
+ private isReactMock;
21
22
  props: Readonly<{
22
23
  children?: React.ReactNode | React.ReactNode[];
23
24
  }> & Readonly<PdfViewerModel | DefaultHtmlAttributes>;
@@ -29,10 +29,12 @@ var PdfViewerComponent = /** @class */ (function (_super) {
29
29
  _this.statelessTemplateProps = null;
30
30
  _this.templateProps = null;
31
31
  _this.immediateRender = true;
32
+ _this.isReactMock = true;
32
33
  _this.portals = [];
33
34
  return _this;
34
35
  }
35
36
  PdfViewerComponent.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;