"use strict";(self["webpackChunk_object_Object_"]=self["webpackChunk_object_Object_"]||[]).push([[821],{55821:function(e,n,i){i.r(n),i.d(n,{default:function(){return b}});var t=i(73396);const a={class:"manual-view"},r={class:"editor-wrapper editor-wrapper-view"},l={ref:"container",class:"editor-container"};function o(e,n,i,o,s,u){const g=(0,t.up)("am-outline"),c=(0,t.up)("am-loading");return(0,t.wg)(),(0,t.iD)("div",a,[(0,t.Wm)(c,{loading:e.loading},{default:(0,t.w5)((()=>[(0,t._)("div",r,[!e.isMobile&&e.engine?((0,t.wg)(),(0,t.j4)(g,{key:0,engine:e.engine},null,8,["engine"])):(0,t.kq)("",!0),(0,t._)("div",l,null,512),!e.isMobile&&e.engine?((0,t.wg)(),(0,t.j4)(g,{key:1,engine:e.engine},null,8,["engine"])):(0,t.kq)("",!0)])])),_:1},8,["loading"])])}var s=i(44870),u=i(83438),g=i(43629),c=i(43693),d=i(93654),v=i(657),f=i(42024);const m=v.Gr.filter((e=>e.pluginName.indexOf("uploader")<0&&["mark-range"].indexOf(e.pluginName)<0));var p=(0,t.aZ)({name:"manual-view",components:{AmLoading:c.Z,AmOutline:d.Z},setup(){const e=(0,s.iH)(null),n=(0,s.iH)(null),i=((0,s.iH)([]),(0,s.iH)(!0));return(0,t.bv)((()=>{if(e.value){const t=new g.G7(e.value,{plugins:m,cards:v._u,config:{table:{overflow:{maxLeftWidth:()=>0,maxRightWidth:()=>{if(g.tq)return 0;const e=(0,g.$)(".editor-wrapper-view"),n=(0,g.$)(".am-engine-view"),i=e.get()?.getBoundingClientRect(),t=n.get()?.getBoundingClientRect(),a=(i?.width||0)-(t?.width||0);return a<=0?100:a}}}}});t.messageSuccess=e=>{u.ZP.success(e)},t.messageError=e=>{u.ZP.error(e)};const a=(0,f.ZS)()||"<strong>Hello</strong>,This is demo";t.render(a),i.value=!1,n.value=t}})),(0,t.Ah)((()=>{n.value&&n.value.destroy()})),{loading:i,isMobile:g.tq,container:e,engine:n}}}),w=i(40089);const _=(0,w.Z)(p,[["render",o],["__scopeId","data-v-4f12ad5f"]]);var b=_}}]);
//# sourceMappingURL=821.12265a4d.js.map