/*!
* Medmeeting-Components v0.0.67
* Made By Healife_FD
* Released under the MIT License.
*/   
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Medmeeting=t():e.Medmeeting=t()})(this,(function(){return (function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=214)})({0:function(e,t){e.exports=function(e,t,o,n,r){var i,a=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,a=e.default);var d="function"==typeof a?a.options:a;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns),n&&(d._scopeId=n);var l;if(r?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=l):o&&(l=o),l){var u=d.functional,c=u?d.render:d.beforeCreate;u?d.render=function(e,t){return l.call(t),c(e,t)}:d.beforeCreate=c?[].concat(c,l):[l]}return{esModule:i,exports:a,options:d}}},198:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e){e.component("mt-ckeditor",a.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=o(210),a=n(i);e.exports=t.default},204:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{editor:{},document:""}},methods:{show:function(){this.document=this.editor.getData()}},mounted:function(){var e=this;this.$load("https://cdn.bootcss.com/ckeditor/4.7.3/ckeditor.js",(function(){window.CKEDITOR.plugins.add("qiniuUpload",{requires:["dialog"],init:function(e){e.addCommand("qiniuUpload",new window.CKEDITOR.dialogCommand("qiniuUpload")),e.ui.addButton("picUpload",{label:"qiniuUpload",command:"qiniuUpload",icon:"hello.ico"}),window.CKEDITOR.dialog.add("qiniuUpload",{title:"picUpload",minWidth:"500px",resizable:!0,minHeight:"500px",contents:[{id:"tab1",label:"",title:"",expand:!0,width:"500px",background:"#fff",height:"500px",padding:0,elements:[{type:"text",label:"请输入日期控件名称",id:"lang",required:!0},{type:"html",html:"<span>说明：日历控件选择的日期、时间将回填到该输入框中。</span>"}]},{id:"tab1",label:"",title:"",expand:!0,width:"500px",background:"#fff",height:"500px",padding:0,elements:[{type:"text",label:"请输入日期控件名称",id:"lang",required:!0},{type:"html",html:"<span>说明：日历控件选择的日期、时间将回填到该输入框中。</span>"}]}],onOk:function(){},onLoad:function(){console.log("next")}})}}),e.editor=window.CKEDITOR.replace("editor1",{extraPlugins:"qiniuUpload",filebrowserImageUploadUrl:"http://api.medmeeting.com/v1/files",image_previewText:" ",colorButton_normalizeBackground:!0,colorButton_foreStyle:{element:"span",styles:{color:"#(color)"}},colorButton_enableMore:!1,colorButton_colors:"000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF",toolbarGroups:[{name:"qiniuUpload",groups:["qiniuUpload"]},{name:"styles",groups:["styles"]},{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"colors",groups:["colors"]},{name:"links",groups:["links"]},{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker","editing"]},{name:"forms",groups:["forms"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi","paragraph"]},{name:"tools",groups:["tools"]},{name:"document",groups:["mode","document","doctools"]},{name:"insert",groups:["insert"]},{name:"others",groups:["others"]},{name:"about",groups:["about"]}]}),e.editor.on("fileUploadRequest",(function(e){var t=e.data.fileLoader.xhr;console.log("Hello world"),console.log("读取Request"),console.log("url"+e.data.url),console.log("message"+e.data.message),console.log("filename"+e.data.filename),t.withCredentials=!0}))}))}},e.exports=t.default},209:function(e,t){},210:function(e,t,o){function n(e){o(209)}var r=o(0)(o(204),o(211),n,"data-v-bf5379ce",null);e.exports=r.exports},211:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("textarea",{attrs:{name:"editor1",id:"editor1",rows:"10",cols:"80"}},[e._v("\n    This is my textarea to be replaced with CKEditor.\n  ")]),e._v(" "),o("el-button",{on:{click:e.show}},[e._v("show Editor")]),e._v(" "),o("div",{domProps:{innerHTML:e._s(e.document)}})],1)},staticRenderFns:[]}},214:function(e,t,o){e.exports=o(198)}})}));