UNPKG

@syncfusion/ej2-react-pdfviewer

Version:
12 lines (11 loc) 1.97 kB
/*! * filename: ej2-react-pdfviewer.umd.min.js * version : 29.1.38 * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ !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})}); //# sourceMappingURL=ej2-react-pdfviewer.umd.min.js.map