@syncfusion/ej2-react-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React
10 lines • 3.69 kB
JavaScript
/*!
* filename: ej2-react-documenteditor.min.js
* version : 26.1.39
* Copyright Syncfusion Inc. 2001 - 2023. 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&&"object"==typeof module?module.exports=t(require("React"),require("SyncfusionDocumenteditor"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionDocumenteditor","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactDocumenteditor=t(require("React"),require("SyncfusionDocumenteditor"),require("SyncfusionReactBase")):e.SyncfusionReactDocumenteditor=t(e.React,e.SyncfusionDocumenteditor,e.SyncfusionReactBase)}(self,((e,t,n)=>(()=>{"use strict";var o={161:(e,t,n)=>{n.d(t,{G:()=>u});var o,r=n(24),i=n(851),c=n(705),s=(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])},o(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return s(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.DocumentEditorContainer);(0,c.applyMixins)(u,[c.ComponentBase,r.Component])},257:(e,t,n)=>{n.d(t,{u:()=>u});var o,r=n(24),i=n(851),c=n(705),s=(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])},o(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return s(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.DocumentEditor);(0,c.applyMixins)(u,[c.ComponentBase,r.Component])},24:t=>{t.exports=e},851:e=>{e.exports=t},705:e=>{e.exports=n}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.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 n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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,{DocumentEditorComponent:()=>e.u,DocumentEditorContainerComponent:()=>t.G,Inject:()=>n.Inject});var e=i(257),t=i(161),n=i(705),o=i(851),r={};for(const e in o)["default","Inject","DocumentEditorComponent","DocumentEditorContainerComponent"].indexOf(e)<0&&(r[e]=()=>o[e]);i.d(c,r)})(),c})()));